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.
6 /* From test_cgen_range/dev_channel_interface.idl,
7 * modified Tue Dec 3 14:58:15 2013.
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
31 * @addtogroup Interfaces
37 struct TestDev_1_3
{ /* dev */
41 void (*TestDev1
)(void);
45 void (*TestDev2
)(void);
49 void (*TestDev3
)(void);
53 void (*TestDev4
)(void);
57 void (*TestDev1
)(void);
61 void (*TestDev1
)(void);
62 void (*TestDev3
)(void);
65 typedef struct TestDev_1_2 TestDev
;
70 struct TestDevToStable_1_2
{
74 void (*Foo
)(int32_t x
);
78 void (*Bar
)(int32_t x
);
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
);
100 #endif /* PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_ */