blob: 7dd338d871e6920f0cb392882b23428e1e577121 (
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
|
// $Id$
/**
* @file HomeAttributes.idl
* @author Will Otte <wotte@dre.vanderbilt.edu>
*
* Tests attributes in homes
*/
#include <Components.idl>
module HomeAttributes
{
interface foo_interface
{
};
component Foo supports foo_interface
{
};
home FooHome manages Foo
{
attribute float test;
attribute long testA, testB;
};
exception FooException
{
};
exception BarException
{
};
home ROFooHome manages Foo
{
readonly attribute float test1;
readonly attribute long testB, testC;
};
home FooRaisesHome manages Foo
{
attribute float test2 getraises (FooException);
attribute float test3 setraises (BarException);
attribute float test4
getraises (FooException) setraises (BarException);
};
home ROFooRaisesHome manages Foo
{
readonly attribute float test5 raises (FooException);
};
};
|