Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

# PortableServer_include.pidl File Reference

Include file for use in applications that need PortableServer.pidl. More...

`import "tao/PortableServer/PortableServer.pidl";`

Include dependency graph for PortableServer_include.pidl:

## Detailed Description

Include file for use in applications that need PortableServer.pidl.

Id
  PortableServer_include.pidl,v 1.4 2005/04/08 07:12:55 jwillemsen Exp

This file just includes PortableServer.pidl. The *C.h file generated from this is hand-crafted to itself include PortableServer.h instead of PortableServerC.h (which will produce a compiler error message if included directly). The PortableServer_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 -Sci -SS -Wb,export_macro=TAO_PortableServer_Export \ -Wb,export_include="portableserver_export.h" \ -Wb,pre_include="ace/pre.h" -Wb,post_include="ace/post.h" PortableServer_include.pidl

2. Then change this line in PortableServer_includeC.h:

#include "PortableServerC.h"

to

#include "PortableServer.h"