summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/PortableServer/IdAssignmentPolicy.pidl
blob: af99fc0469c84bb97c3814bffabe49158d3be382 (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
/**
 * @file IdAssignmentPolicy.pidl
 *
 * $Id$
 *
 * @brief PIDL source for the PortableServer module.
 */

#ifndef _PORTABLESERVER_IDASSIGNMENTPOLICY_IDL_
#define _PORTABLESERVER_IDASSIGNMENTPOLICY_IDL_

#include "tao/Policy.pidl"

#pragma prefix "omg.org"

module PortableServer
{
# pragma version PortableServer 2.3

  enum IdAssignmentPolicyValue
  {
    USER_ID,
    SYSTEM_ID
  };

#if !defined (CORBA_E_MICRO)

  local interface IdAssignmentPolicy : CORBA::Policy
  {
    readonly attribute IdAssignmentPolicyValue value;
  };

#endif
};

#endif // _PORTABLESERVER_IDASSIGNMENTPOLICY_IDL_