Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTCORBA / RTCORBA_include.pidl
blobc8501f93d73d7e81505b518d2270c15db471d029
1 /**
2  * @file RTCORBA_include.pidl
3  *
4  * @brief Include file for use in applications that need RTCORBA.pidl.
5  *
6  * This file just includes RTCORBA.pidl. The *C.h file generated from
7  * this is hand-crafted to itself include RTCORBA.h instead of
8  * RTCORBAC.h (which will produce a compiler error message if
9  * included directly). The RTCORBA_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  *          RTCORBA_include.pidl
20  *
21  *   2. Then change this line in RTCORBA_includeC.h:
22  *
23  *          #include "RTCORBAC.h"
24  *
25  *      to
26  *
27  *          #include "RTCORBA.h"
28  */
30 #ifndef _RT_CORBA_INCLUDE_IDL_
31 #define _RT_CORBA_INCLUDE_IDL_
33 #pragma prefix ""
35 #include "tao/RTCORBA/RTCORBA.pidl"
37 #endif /* _RT_CORBA_INCLUDE_IDL_ */