1#include <enum.idl> 2#include <struct.idl> 3 4module idlc 5{ 6 7module test 8{ 9 10interface XBase 11{ 12 [readonly, attribute] string description; 13 14 string getDescription(); 15}; 16 17interface XTestBaseTypes : XBase 18{ 19 void voidFunc(); 20 [oneway] void onewayFunc(); 21 22 short shortFunc( [in] short inparam, [out] short outparam, [inout] short inoutparam); 23 unsigned short uShortFunc( [in] unsigned short inparam, [out] unsigned short outparam, [inout] unsigned short inoutparam); 24 25 long longFunc( [in] long inparam, [out] long outparam, [inout] long inoutparam); 26 unsigned long ulongFunc( [in] unsigned long inparam, [out] unsigned long outparam, [inout] unsigned long inoutparam); 27 28 hyper hyperFunc( [in] hyper inparam, [out] hyper outparam, [inout] hyper inoutparam); 29 unsigned hyper uHyperFunc( [in] unsigned hyper inparam, [out] unsigned hyper outparam, [inout] unsigned hyper inoutparam); 30 31 float floatFunc( [in] float inparam, [out] float outparam, [inout] float inoutparam); 32 double doubleFunc( [in] double inparam, [out] double outparam, [inout] double inoutparam); 33 char charFunc( [in] char inparam, [out] char outparam, [inout] char inoutparam); 34 string stringFunc( [in] string inparam, [out] string outparam, [inout] string inoutparam); 35 byte byteFunc( [in] byte inparam, [out] byte outparam, [inout] byte inoutparam); 36 37 type typeFunc( [in] type inparam, [out] type outparam, [inout] type inoutparam); 38 any anyFunc( [in] any inparam, [out] any outparam, [inout] any inoutparam); 39}; 40 41 42interface XTestComplexTypes : XBase 43{ 44 Error enumFunc( [in] Error inparam, [out] Error outparam, [inout] Error inoutparam); 45 46 BaseStruct structFunc( [in] ::idlc::test::BaseStruct inparam, [out] idlc::test::BaseStruct outparam, [inout] BaseStruct inoutparam); 47}; 48 49}; 50 51}; 52