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 */ 5 6/* From test_cgen_range/dev_channel_interface.idl, 7 * modified Tue Dec 3 14:58:15 2013. 8 */ 9 10#ifndef PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_ 11#define PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_ 12 13#include "ppapi/c/pp_macros.h" 14 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 19 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 24 25/** 26 * @file 27 */ 28 29 30/** 31 * @addtogroup Interfaces 32 * @{ 33 */ 34/** 35 * TestDev 36 */ 37struct TestDev_1_3 { /* dev */ 38 /** 39 * TestDev1() 40 */ 41 void (*TestDev1)(void); 42 /** 43 * TestDev2() 44 */ 45 void (*TestDev2)(void); 46 /** 47 * TestDev3() 48 */ 49 void (*TestDev3)(void); 50 /** 51 * TestDev4() 52 */ 53 void (*TestDev4)(void); 54}; 55 56struct TestDev_1_0 { 57 void (*TestDev1)(void); 58}; 59 60struct TestDev_1_2 { 61 void (*TestDev1)(void); 62 void (*TestDev3)(void); 63}; 64 65typedef struct TestDev_1_2 TestDev; 66 67/** 68 * TestDevToStable 69 */ 70struct TestDevToStable_1_2 { 71 /** 72 * Foo() comment. 73 */ 74 void (*Foo)(int32_t x); 75 /** 76 * Bar() comment. 77 */ 78 void (*Bar)(int32_t x); 79 /** 80 * Baz() comment. 81 */ 82 void (*Baz)(int32_t x); 83}; 84 85typedef struct TestDevToStable_1_2 TestDevToStable; 86 87struct TestDevToStable_1_0 { 88 void (*Foo)(int32_t x); 89}; 90 91struct TestDevToStable_1_1 { /* dev */ 92 void (*Foo)(int32_t x); 93 void (*Bar)(int32_t x); 94 void (*Baz)(int32_t x); 95}; 96/** 97 * @} 98 */ 99 100#endif /* PPAPI_C_TEST_CGEN_RANGE_DEV_CHANNEL_INTERFACE_H_ */ 101 102