00001 // -*- IDL -*- 00002 00003 /** 00004 * @file Domain.pidl 00005 * 00006 * Domain.pidl,v 1.17 2006/03/14 15:32:23 jtc Exp 00007 * 00008 * @brief Pre-compiled IDL source for the CORBA::Domain related 00009 * classes. 00010 * 00011 * This file was used to generate the code in DomainC.{h,inl,cpp}. 00012 * 00013 * The steps to regenerate the code are as follows: 00014 * 00015 * 1. Run the tao_idl compiler on the patched pidl file. The 00016 * command used for this is: 00017 * 00018 * tao_idl 00019 * -o orig -Gp -Gd -Ge 1 -GA 00020 * -Wb,export_macro=TAO_Export 00021 * -Wb,export_include=TAO_Export.h 00022 * -Wb,pre_include="ace/pre.h" 00023 * -Wb,post_include="ace/post.h" 00024 * -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00025 * -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL 00026 * Domain.pidl 00027 * 00028 * 2. Then patch the generated code. This patch (a) eliminates 00029 * cycles in the include dependencies. 00030 * 00031 * Apply patches using the following commands: 00032 * 00033 * cp orig/DomainC.{h,i,cpp} . 00034 * cp orig/Domain{S,S_T}.{h,i,cpp} Domain 00035 * patch < diffs/Domain.diff 00036 * 00037 * 3. You'll have to move the Domain skeleton files from TAO/tao 00038 * to the TAO_Domain library by hand. 00039 * 00040 * Note: The diffs were generated with these commands: 00041 * 00042 * for i in DomainC.{h,cpp}; do 00043 * diff -wBbu orig/$i $i; 00044 * done > diffs/Domain.diff 00045 */ 00046 00047 #ifndef TAO_CORBA_DOMAIN_PIDL 00048 #define TAO_CORBA_DOMAIN_PIDL 00049 00050 #include "tao/Policy.pidl" 00051 #include "tao/InterfaceDef.pidl" 00052 00053 #pragma prefix "omg.org" 00054 00055 module CORBA 00056 { 00057 interface DomainManager 00058 { 00059 Policy get_domain_policy ( 00060 in PolicyType policy_type 00061 ); 00062 }; 00063 00064 const PolicyType SecConstruction = 11; 00065 00066 interface ConstructionPolicy : Policy 00067 { 00068 void make_domain_manager ( 00069 in InterfaceDef object_type, 00070 in boolean constr_policy 00071 ); 00072 }; 00073 00074 typedef sequence <DomainManager> DomainManagerList; 00075 }; 00076 00077 #endif /* TAO_CORBA_DOMAIN_IDL */