summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL3/ImpliedIDL/All/include.idl
blob: 4d8409385b9b329e8e867196d74c01527007249a (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
/**
 * @file include.idl
 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
 *
 * Tests tool's regeneration of IDL2 constructs, which
 * should be basically unchanged.
 */

#ifndef INCLUDE_IDL
#define INCLUDE_IDL

module pre_mod
{
  typedef long longarray[3][14][7];
  typedef string reasonsarray[4][2];
  typedef wstring<3> wstringofthree;
  typedef sequence<sequence<long> > seqoflongseq;

  exception wrong
  {
    seqoflongseq longseqseq;
    reasonsarray reasons;
    wstringofthree why;
  };

  enum which
  {
    ZERO,
    ONE,
    TWO
  };
};

const pre_mod::which which_one = pre_mod::ONE;

#endif /* INCLUDE_IDL */