00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef HxVideoPlayerFactoryServant_h
00011 #define HxVideoPlayerFactoryServant_h
00012
00013 #include <OB/CORBA.h>
00014 #include "HxCorbaVideoPlayer_skel.h"
00015
00016 class HxVideoPlayerFactoryServant : public POA_HxCorba::VideoPlayerFactory
00017 {
00018 public:
00019 HxVideoPlayerFactoryServant(PortableServer::POA_ptr poa);
00020 virtual ~HxVideoPlayerFactoryServant();
00021
00022 virtual HxCorba::VideoPlayer_ptr makeFullPlayer(const char* fileName);
00023 virtual HxCorba::VideoPlayer_ptr makeAudioPlayer(const char* fileName);
00024
00025 private:
00026 virtual HxCorba::VideoPlayer_ptr makePlayer(const char* fileName, bool image);
00027
00028 PortableServer::POA_var _poa;
00029 };
00030
00031 #endif