summaryrefslogtreecommitdiff
path: root/tests/Abstract_Interface/test.idl
blob: 6a5d9ec4a1ca8f5d9657d3dc9c2faeee18ad447d (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
// $Id$

exception BadInput
{
  string message;
};

abstract interface base
{
  string base_op (in string inarg)
    raises (BadInput);
};

interface foo : base
{
  string foo_op (in string inarg)
    raises (BadInput);
};

interface passer
{
  void pass_ops (out base outarg);
  void pass_state (out base outarg);
  void pass_nil (out base outarg);
  oneway void shutdown ();
};

valuetype BaseNode
{
  public BaseNode left;
  public BaseNode right;
};

valuetype StringNode : BaseNode
{
  public string name;
};

valuetype TreeController supports base
{
  public BaseNode root;
};