00001 #ifndef PV_2WAY_PROXY_FACTORY_H_INCLUDED
00002 #define PV_2WAY_PROXY_FACTORY_H_INCLUDED
00003
00004 #ifndef PV_COMMON_TYPES_H_INCLUDED
00005 #include "pv_common_types.h"
00006 #endif
00007
00008 #ifndef PV_2WAY_INTERFACE_H_INCLUDED
00009 #include "pv_2way_interface.h"
00010 #endif
00011
00012 #ifndef PV_ENGINE_OBSERVER_H_INCLUDED
00013 #include "pv_engine_observer.h"
00014 #endif
00015
00016 class CPV2WayProxyFactory
00017 {
00018 public:
00019 OSCL_IMPORT_REF static void Init();
00020
00021 OSCL_IMPORT_REF static void Cleanup();
00022
00034 OSCL_IMPORT_REF static CPV2WayInterface *CreateTerminal(TPVTerminalType aTerminalType,
00035 PVCommandStatusObserver* aCmdStatusObserver,
00036 PVInformationalEventObserver *aInfoEventObserver,
00037 PVErrorEventObserver *aErrorEventObserver);
00038
00048 OSCL_IMPORT_REF static void DeleteTerminal(CPV2WayInterface* terminal);
00049 };
00050
00051 #endif // PV_2WAY_PROXY_FACTORY_H_INCLUDED