summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RTCORBA_include.pidl
blob: 206fc6d2c8ce7b380460121936573aea0b37dd5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
 * @file RTCORBA_include.pidl
 *
 * $Id$
 *
 * @brief Include file for use in applications that need RTCORBA.pidl.
 *
 * This file just includes RTCORBA.pidl. The *C.h file generated from
 * this is hand-crafted to itself include RTCORBA.h instead of 
 * RTCORBAC.h (which will produce a compiler error message if 
 * included directly). The RTCORBA_includeC.h file can then be
 * included directly and automatically by the IDL compiler when
 * building the application.
 *
 *   1. Run the tao_idl compiler on the pidl file.  The command used for
 *     this is:
 *
 *     tao_idl -o orig -St -Sc -Sp
 *          -Wb,pre_include="ace/pre.h"
 *          -Wb,post_include="ace/post.h"
 *          RTCORBA_include.pidl
 *
 *   2. Then change this line in RTCORBA_includeC.h:
 *
 *          #include "RTCORBAC.h"
 *
 *      to
 *
 *          #include "RTCORBA.h"
 */

#ifndef _RT_CORBA_INCLUDE_IDL_
#define _RT_CORBA_INCLUDE_IDL_

#include "tao/RTCORBA/RTCORBA.pidl"

#endif /* _RT_CORBA_INCLUDE_IDL_ */