summaryrefslogtreecommitdiff
path: root/TAO/tao/Policy_Forward.pidl
blob: cecf57db3e4fa6ca99ff51e22da91cfe6a180675 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
 * @file Policy_Forward.pidl
 *
 * $Id$
 *
 * @brief Pre-compiled IDL source to forward declare some critical
 * Policy-related types.
 *
 * This file is used to generate the code in
 * Policy_ForwardC.{h,i,cpp}.
 *
 *   The steps to regenerate the code are as follows:
 *
 *   1. Run the tao_idl compiler on the patched pidl file.  The
 *   command used for this is:
 *
 *     tao_idl.exe
 *        -o orig -Ge 1 -GT
 *          -Wb,export_macro=TAO_Export
 *          -Wb,export_include="tao/corbafwd.h"
 *          -Wb,pre_include="ace/pre.h"
 *          -Wb,post_include="ace/post.h"
 *          Policy_Forward.pidl
 *
 *   2. Then patch the generated code.  This patch (a) eliminates
 *   cycles in the include dependencies.
 *
 *   Apply patches using the following commands:
 *
 *   patch < diffs/Policy_Forward.diff
 *
 *   Note: The diffs were generated with these commands:
 *
 *   for i in Policy_ForwardC.{h,i,cpp}; do
 *     diff -wBbu orig/$i $i;
 *   done > diffs/Policy_Forward.diff
 */

#ifndef TAO_CORBA_POLICY_FORWARD_PIDL
#define TAO_CORBA_POLICY_FORWARD_PIDL

#pragma prefix "omg.org"

module CORBA
{
  typedef unsigned long PolicyType;

  interface Policy;

  typedef sequence<Policy> PolicyList;

  typedef sequence<PolicyType> PolicyTypeSeq;

  enum SetOverrideType
  {
    SET_OVERRIDE,
    ADD_OVERRIDE
  };
};

#endif /* TAO_CORBA_POLICY_FORWARD_PIDL */