Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tao / ObjRefTemplate / ObjectReferenceTemplate_include.pidl
blob692335951d37a663acb82ee3bbd40ea66251cf3a
1 /**
2  * @file ObjectReferenceTemplate_include.pidl
3  *
4  * @brief Include file for use in applications that need ObjectReferenceTemplate.pidl.
5  *
6  * This file just includes ObjectReferenceTemplate.pidl. The *C.h file generated from
7  * this is hand-crafted to itself include ObjectReferenceTemplate.h instead of
8  * ObjectReferenceTemplateC.h (which will produce a compiler error message if
9  * included directly). The ObjectReferenceTemplate_includeC.h file can then be
10  * included directly and automatically by the IDL compiler when
11  * building the application.
12  *
13  *   1. Run the tao_idl compiler on the pidl file.  The command used for
14  *     this is:
15  *
16  *     tao_idl -o orig -St -Sp
17  *          -Wb,pre_include="ace/pre.h"
18  *          -Wb,post_include="ace/post.h"
19  *          ObjectReferenceTemplate_include.pidl
20  *
21  *   2. Then change this line in ObjectReferenceTemplate_includeC.h:
22  *
23  *          #include "ObjectReferenceTemplateC.h"
24  *
25  *      to
26  *
27  *          #include "ObjectReferenceTemplate.h"
28  */
30 #ifndef _OBJECTREFERENCETEMPLATE_INCLUDE_IDL_
31 #define _OBJECTREFERENCETEMPLATE_INCLUDE_IDL_
33 #pragma prefix ""
35 #include "tao/ObjRefTemplate/ObjectReferenceTemplate.pidl"
37 #endif /* _OBJECTREFERENCETEMPLATE_INCLUDE_IDL_ */