3 //=============================================================================
5 * @file NVList_Adapter.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_NVLIST_ADAPTER_H
12 #define TAO_NVLIST_ADAPTER_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Basic_Types.h"
24 #include "ace/Service_Object.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 typedef NVList
*NVList_ptr
;
34 typedef NamedValue
*NamedValue_ptr
;
38 * @class TAO_NVList_Adapter
40 class TAO_Export TAO_NVList_Adapter
: public ACE_Service_Object
43 virtual ~TAO_NVList_Adapter ();
45 virtual void create_list (CORBA::Long count
, CORBA::NVList_ptr
&new_list
) = 0;
47 virtual void create_named_value (CORBA::NamedValue_ptr
&nv
) = 0;
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 #include /**/ "ace/post.h"
53 #endif /* TAO_NVLIST_ADAPTER_H */