summaryrefslogtreecommitdiff
path: root/CIAO/ciao/CCM_Enumeration.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/CCM_Enumeration.idl')
-rw-r--r--CIAO/ciao/CCM_Enumeration.idl38
1 files changed, 38 insertions, 0 deletions
diff --git a/CIAO/ciao/CCM_Enumeration.idl b/CIAO/ciao/CCM_Enumeration.idl
new file mode 100644
index 00000000000..55d64b68e07
--- /dev/null
+++ b/CIAO/ciao/CCM_Enumeration.idl
@@ -0,0 +1,38 @@
+// $Id$
+
+/**
+ * @@ Compile this file with:
+ *
+ * tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \
+ * -Wb,export_macro=CIAO_Export \
+ * -Wb,export_include=CIAO_export.h \
+ * -Wb,pre_include="ace/pre.h" \
+ * -Wb,post_include="ace/post.h" \
+ * CCM_Component.idl
+ */
+
+#if !defined (CCM_ENUMERATION_IDL)
+#define CCM_ENUMERATION_IDL
+
+#include "ciao/CCM_Object.idl"
+
+module Components
+{
+ typeprefix Components "omg.org";
+
+ /// @@ Enumeration and DefaultEnumeration are only for EJB to CCM
+ /// mapping? At any rate, we should be able to skip them for now.
+ abstract valuetype Enumeration
+ {
+ boolean has_more_elements();
+ CCMObject next_element();
+ };
+
+ typedef sequence<CCMObject> CCMObjectSeq;
+
+ valuetype DefaultEnumeration : Enumeration
+ {
+ private CCMObjectSeq objects;
+ };
+};
+#endif /* CCM_ENUMERATION_IDL */