summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl')
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl80
1 files changed, 0 insertions, 80 deletions
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl b/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl
deleted file mode 100644
index 830fb08938f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl
+++ /dev/null
@@ -1,80 +0,0 @@
-#ifndef INTERRETURN_T_IDL
-#define INTERRETURN_T_IDL
-
-#pragma ciao lem "Base/InterReturnTE.idl"
-#pragma ciao ami4ccm interface "InterReturnT::MyFoo"
-#pragma ciao lem "Base/InterReturnTAE.idl"
-#pragma ciao ami4ccm idl "Base/InterReturnTA.idl"
-
-module InterReturnT
-{
- typedef short short_array[5];
-
- // Mixed struct
- struct TestStruct {
- string key;
- long x;
- };
-
- // Array
- struct TestArr {
- string key;
- short_array x_array;
- };
-
- typedef TestArr TestArray[5];
-
- // Union
- union X_Union switch (short) {
- case 0:
- string x_test;
- case 1:
- long x_long;
- };
-
- // Sequence
- struct test {
- short x_test;
- string x_teststr;
- };
- typedef sequence<test> TestSeq;
-
- enum test_enum
- {
- ZERO,
- ONE,
- TWO
- };
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- void ret_void (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- long ret_long (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- double ret_double (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- TestStruct ret_struct ( in string in_str, out string answer,
- out long l_cmd)
- raises (InternalError);
- TestArray ret_array (in string in_str, out string answer,
- out long l_cmd)
- raises (InternalError);
- TestSeq ret_seq (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- X_Union ret_union (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- test_enum ret_enum (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- };
-};
-
-#endif
-