Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ppapi / generators / test_cgen_range / dev_channel_interface.h
blob325a770a765ace140c70397f90fa53d798c51dc6
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
6 /* From test_cgen_range/dev_channel_interface.idl,
7 * modified Tue Dec 3 14:58:15 2013.
8 */
10 #ifndef PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_
11 #define PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_
13 #include "ppapi/c/pp_macros.h"
15 #define TESTDEV_INTERFACE_1_0 "TestDev;1.0"
16 #define TESTDEV_INTERFACE_1_2 "TestDev;1.2"
17 #define TESTDEV_INTERFACE_1_3 "TestDev;1.3" /* dev */
18 #define TESTDEV_INTERFACE TESTDEV_INTERFACE_1_2
20 #define TESTDEVTOSTABLE_INTERFACE_1_0 "TestDevToStable;1.0"
21 #define TESTDEVTOSTABLE_INTERFACE_1_1 "TestDevToStable;1.1" /* dev */
22 #define TESTDEVTOSTABLE_INTERFACE_1_2 "TestDevToStable;1.2"
23 #define TESTDEVTOSTABLE_INTERFACE TESTDEVTOSTABLE_INTERFACE_1_2
25 /**
26 * @file
30 /**
31 * @addtogroup Interfaces
32 * @{
34 /**
35 * TestDev
37 struct TestDev_1_3 { /* dev */
38 /**
39 * TestDev1()
41 void (*TestDev1)(void);
42 /**
43 * TestDev2()
45 void (*TestDev2)(void);
46 /**
47 * TestDev3()
49 void (*TestDev3)(void);
50 /**
51 * TestDev4()
53 void (*TestDev4)(void);
56 struct TestDev_1_0 {
57 void (*TestDev1)(void);
60 struct TestDev_1_2 {
61 void (*TestDev1)(void);
62 void (*TestDev3)(void);
65 typedef struct TestDev_1_2 TestDev;
67 /**
68 * TestDevToStable
70 struct TestDevToStable_1_2 {
71 /**
72 * Foo() comment.
74 void (*Foo)(int32_t x);
75 /**
76 * Bar() comment.
78 void (*Bar)(int32_t x);
79 /**
80 * Baz() comment.
82 void (*Baz)(int32_t x);
85 typedef struct TestDevToStable_1_2 TestDevToStable;
87 struct TestDevToStable_1_0 {
88 void (*Foo)(int32_t x);
91 struct TestDevToStable_1_1 { /* dev */
92 void (*Foo)(int32_t x);
93 void (*Bar)(int32_t x);
94 void (*Baz)(int32_t x);
96 /**
97 * @}
100 #endif /* PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_ */