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