summaryrefslogtreecommitdiff
path: root/trunk/TAO/tao/RTPortableServer/RTPortableServer_include.pidl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tao/RTPortableServer/RTPortableServer_include.pidl')
-rw-r--r--trunk/TAO/tao/RTPortableServer/RTPortableServer_include.pidl40
1 files changed, 40 insertions, 0 deletions
diff --git a/trunk/TAO/tao/RTPortableServer/RTPortableServer_include.pidl b/trunk/TAO/tao/RTPortableServer/RTPortableServer_include.pidl
new file mode 100644
index 00000000000..0a16df733bd
--- /dev/null
+++ b/trunk/TAO/tao/RTPortableServer/RTPortableServer_include.pidl
@@ -0,0 +1,40 @@
+/**
+ * @file RTPortableServer_include.pidl
+ *
+ * $Id$
+ *
+ * @brief Include file for use in applications that need RTPortableServer.pidl.
+ *
+ * This file just includes RTPortableServer.pidl. The *C.h file generated from
+ * this is hand-crafted to itself include RTPortableServer.h instead of
+ * RTPortableServerC.h (which will produce a compiler error message if
+ * included directly). The RTPortableServer_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 -Sp -Sci -SS
+ * -Wb,export_macro=TAO_RTPortableServer_Export \
+ * -Wb,export_include="rtportableserver_export.h" \
+ * -Wb,pre_include="ace/pre.h"
+ * -Wb,post_include="ace/post.h"
+ * RTPortableServer_include.pidl
+ *
+ * 2. Then change this line in RTPortableServer_includeC.h:
+ *
+ * #include "RTPortableServerC.h"
+ *
+ * to
+ *
+ * #include "RTPortableServer.h"
+ */
+
+#ifndef _RTPORTABLESERVER_INCLUDE_IDL_
+#define _RTPORTABLESERVER_INCLUDE_IDL_
+
+///FUZZ: disable check_for_include/
+#include "tao/RTPortableServer/RTPortableServer.pidl"
+
+#endif /* _RTPORTABLESERVER_INCLUDE_IDL_ */