00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file NVList_Adapter.h 00006 * 00007 * NVList_Adapter.h,v 1.3 2005/11/02 07:13:03 ossama Exp 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_NVLIST_ADAPTER_H 00014 #define TAO_NVLIST_ADAPTER_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/TAO_Export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/Basic_Types.h" 00025 00026 #include "ace/Service_Object.h" 00027 #include "ace/CORBA_macros.h" 00028 00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00030 00031 namespace CORBA 00032 { 00033 class NVList; 00034 typedef NVList *NVList_ptr; 00035 00036 class NamedValue; 00037 typedef NamedValue *NamedValue_ptr; 00038 00039 class Environment; 00040 } 00041 00042 /** 00043 * @class TAO_NVList_Adapter 00044 */ 00045 class TAO_Export TAO_NVList_Adapter : public ACE_Service_Object 00046 { 00047 public: 00048 virtual ~TAO_NVList_Adapter (void); 00049 00050 virtual void create_list ( 00051 CORBA::Long count, 00052 CORBA::NVList_ptr &new_list 00053 ACE_ENV_ARG_DECL) = 0; 00054 00055 virtual void create_named_value ( 00056 CORBA::NamedValue_ptr &nv 00057 ACE_ENV_ARG_DECL) = 0; 00058 00059 }; 00060 00061 TAO_END_VERSIONED_NAMESPACE_DECL 00062 00063 #include /**/ "ace/post.h" 00064 #endif /* TAO_NVLIST_ADAPTER_H */