svvitch
digital signage player
|
00001 #pragma once 00002 00003 #include "ComContent.h" 00004 #include "flash.h" 00005 00006 00007 using std::string; 00008 00009 00014 class FlashContent: public ComContent { 00015 private: 00016 HMODULE _module; 00017 IClassFactory* _classFactory; 00018 IShockwaveFlash* _flash; 00019 IViewObject* _view; 00020 00021 string _movie; 00022 string _params; 00023 string _quality; 00024 string _scale; 00025 int _zoom; 00026 00027 virtual void createComComponents(); 00028 00029 virtual void releaseComComponents(); 00030 00031 public: 00032 FlashContent(Renderer& renderer, int splitType, float x = 0, float y = 0, float w = 0, float h = 0); 00033 00034 virtual ‾FlashContent(); 00035 00036 void initialize(); 00037 00039 virtual bool open(const MediaItemPtr media, const int offset = 0); 00040 00041 virtual void run(); 00042 }; 00043 00044 typedef FlashContent* FlashContentPtr;