diff options
Diffstat (limited to 'TAO/tao/NVList_Adapter.h')
-rw-r--r-- | TAO/tao/NVList_Adapter.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/TAO/tao/NVList_Adapter.h b/TAO/tao/NVList_Adapter.h new file mode 100644 index 00000000000..207d5c2e014 --- /dev/null +++ b/TAO/tao/NVList_Adapter.h @@ -0,0 +1,59 @@ +// This may look like C, but it's really -*- 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 "ace/Service_Object.h" +#include "tao/Basic_Types.h" +#include "ace/CORBA_macros.h" + +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; + +}; + +#include /**/ "ace/post.h" +#endif /* TAO_NVLIST_ADAPTER_H */ |