summaryrefslogtreecommitdiff
path: root/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate_include.pidl
blob: 5335679ca769014c3a003d21c6cbcdcf48e97329 (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 ObjectReferenceTemplate_include.pidl
 *
 * $Id$
 *
 * @brief Include file for use in applications that need ObjectReferenceTemplate.pidl.
 *
 * This file just includes ObjectReferenceTemplate.pidl. The *C.h file generated from
 * this is hand-crafted to itself include ObjectReferenceTemplate.h instead of
 * ObjectReferenceTemplateC.h (which will produce a compiler error message if
 * included directly). The ObjectReferenceTemplate_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"
 *          ObjectReferenceTemplate_include.pidl
 *
 *   2. Then change this line in ObjectReferenceTemplate_includeC.h:
 *
 *          #include "ObjectReferenceTemplateC.h"
 *
 *      to
 *
 *          #include "ObjectReferenceTemplate.h"
 */

#ifndef _OBJECTREFERENCETEMPLATE_INCLUDE_IDL_
#define _OBJECTREFERENCETEMPLATE_INCLUDE_IDL_

#include "tao/ObjRefTemplate/ObjectReferenceTemplate.pidl"

#endif /* _OBJECTREFERENCETEMPLATE_INCLUDE_IDL_ */