diff options
Diffstat (limited to 'TAO/tao/Policy_Forward.pidl')
-rw-r--r-- | TAO/tao/Policy_Forward.pidl | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/TAO/tao/Policy_Forward.pidl b/TAO/tao/Policy_Forward.pidl new file mode 100644 index 00000000000..3b8d09d39a9 --- /dev/null +++ b/TAO/tao/Policy_Forward.pidl @@ -0,0 +1,51 @@ +// -*- IDL -*- + +/** + * @file Policy_Forward.pidl + * + * $Id$ + * + * @brief Pre-compiled IDL source to forward declare some critical + * Policy-related types. + * + * This file is used to generate the code in + * Policy_ForwardC.{h,cpp}. + * + * The steps to regenerate the code are as follows: + * + * 1. Run the tao_idl compiler on the patched pidl file. The + * command used for this is: + * + * tao_idl.exe + * -o orig -GA -SS -Sci -Sorb + * -Wb,export_macro="tao/TAO_Export" + * -Wb,pre_include="ace/pre.h" + * -Wb,post_include="ace/post.h" + * Policy_Forward.pidl + */ + +#ifndef TAO_CORBA_POLICY_FORWARD_PIDL +#define TAO_CORBA_POLICY_FORWARD_PIDL + +#pragma prefix "omg.org" + +module CORBA +{ + typedef unsigned long PolicyType; + + interface Policy; + + typedef sequence<Policy> PolicyList; + + typedef sequence<PolicyType> PolicyTypeSeq; + + local interface PolicyCurrent; + + enum SetOverrideType + { + SET_OVERRIDE, + ADD_OVERRIDE + }; +}; + +#endif /* TAO_CORBA_POLICY_FORWARD_PIDL */ |