summaryrefslogtreecommitdiff
path: root/trunk/TAO/tao/NVList_Adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tao/NVList_Adapter.h')
-rw-r--r--trunk/TAO/tao/NVList_Adapter.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/trunk/TAO/tao/NVList_Adapter.h b/trunk/TAO/tao/NVList_Adapter.h
new file mode 100644
index 00000000000..c8f27cfe0eb
--- /dev/null
+++ b/trunk/TAO/tao/NVList_Adapter.h
@@ -0,0 +1,64 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file NVList_Adapter.h
+ *
+ * $Id$
+ *
+ * @author Johnny Willemsen <jwillemsen@remedy.nl>
+ */
+//=============================================================================
+
+#ifndef TAO_NVLIST_ADAPTER_H
+#define TAO_NVLIST_ADAPTER_H
+
+#include /**/ "ace/pre.h"
+
+#include /**/ "tao/TAO_Export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Basic_Types.h"
+
+#include "ace/Service_Object.h"
+#include "ace/CORBA_macros.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace CORBA
+{
+ class NVList;
+ typedef NVList *NVList_ptr;
+
+ class NamedValue;
+ typedef NamedValue *NamedValue_ptr;
+
+ class Environment;
+}
+
+/**
+ * @class TAO_NVList_Adapter
+ */
+class TAO_Export TAO_NVList_Adapter : public ACE_Service_Object
+{
+public:
+ virtual ~TAO_NVList_Adapter (void);
+
+ virtual void create_list (
+ CORBA::Long count,
+ CORBA::NVList_ptr &new_list
+ ACE_ENV_ARG_DECL) = 0;
+
+ virtual void create_named_value (
+ CORBA::NamedValue_ptr &nv
+ ACE_ENV_ARG_DECL) = 0;
+
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* TAO_NVLIST_ADAPTER_H */