summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl')
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl b/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl
new file mode 100644
index 00000000000..e5fe28e7b47
--- /dev/null
+++ b/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl
@@ -0,0 +1,37 @@
+// $Id$
+
+#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
+