summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Portable_Interceptors/PolicyFactory/test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Portable_Interceptors/PolicyFactory/test.idl')
-rw-r--r--trunk/TAO/tests/Portable_Interceptors/PolicyFactory/test.idl31
1 files changed, 31 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Portable_Interceptors/PolicyFactory/test.idl b/trunk/TAO/tests/Portable_Interceptors/PolicyFactory/test.idl
new file mode 100644
index 00000000000..0f82a951fc0
--- /dev/null
+++ b/trunk/TAO/tests/Portable_Interceptors/PolicyFactory/test.idl
@@ -0,0 +1,31 @@
+// -*- IDL -*-
+
+//=============================================================================
+/**
+ * @file test.idl
+ *
+ * $Id$
+ *
+ * "test" IDL interface for the PolicyFactory test.
+ *
+ * @author Ossama Othman <ossama@dre.vanderbilt.edu>
+ */
+//=============================================================================
+
+
+#include "tao/Policy.pidl"
+
+module Test
+{
+
+ // Hopefully this test policy type number doesn't conflict with any
+ // other reserved PolicyTypes.
+ const CORBA::PolicyType POLICY_TYPE = 3456;
+
+ local interface Policy : CORBA::Policy
+ {
+ /// Returns value passed to PolicyFactory.
+ readonly attribute unsigned long value;
+ };
+
+};