Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / ServantRetentionPolicy.pidl
blob3614af79231b94386976c29a0aad838973e9f9a6
1 /**
2  * @file ServantRetentionPolicy.pidl
3  *
4  * @brief Pre-compiled IDL source for the PortableServer module.
5  *
6  * tao_idl.exe \
7  *     -o orig -Gp -Gd -Sci -GA -I$(TAO_ROOT)
8  *          -Wb,export_macro=TAO_PortableServer_Export \
9  *          -Wb,export_include="portableserver_export.h" \
10  *          -Wb,pre_include="ace/pre.h" \
11  *          -Wb,post_include="ace/post.h" \
12  *          ServantRetentionPolicy.pidl
13  */
15 #ifndef _PORTABLESERVER_SERVANTRETENTIONPOLICY_IDL_
16 #define _PORTABLESERVER_SERVANTRETENTIONPOLICY_IDL_
18 #include "tao/Policy.pidl"
20 #pragma prefix "omg.org"
22 module PortableServer
24 # pragma version PortableServer 2.3
26   enum ServantRetentionPolicyValue
27   {
28     RETAIN,
29     NON_RETAIN
30   };
32 #if !defined (TAO_HAS_MINIMUM_POA) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
34   local interface ServantRetentionPolicy : CORBA::Policy
35   {
36     readonly attribute ServantRetentionPolicyValue value;
37   };
39 #endif
43 #endif // _PORTABLESERVER_SERVANTRETENTIONPOLICY_IDL_