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