blob: 456dcd1f829818205639cfeb99bcc23e534fdaa9 (
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
|
#ifndef PRAGMAT_IDL
#define PRAGMAT_IDL
#pragma ciao lem "Base/PragmaTE.idl"
#pragma ami4ccm interface "PragmaT::MyFoo"
#pragma ciao lem "Base/PragmaTAE.idl"
#pragma ami4ccm idl "Base/PragmaTA.idl"
module PragmaT
{
exception InternalError
{
long id;
string error_string;
};
// Sender/Receiver interface
interface MyFoo
{
long foo (in string in_str, out string answer)
raises (InternalError);
void hello (out long answer)
raises (InternalError);
attribute short rw_attrib
getraises (InternalError)
setraises (InternalError);
readonly attribute short ro_attrib
raises (InternalError);
};
};
#endif
|