Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GNASH_MOVIE_FACTORY_H
00021 #define GNASH_MOVIE_FACTORY_H
00022
00023 #include "dsodefs.h"
00024
00025 #include <boost/intrusive_ptr.hpp>
00026 #include <string>
00027 #include <memory>
00028
00029 namespace gnash {
00030 class IOChannel;
00031 class RunResources;
00032 class movie_definition;
00033 class URL;
00034 class MovieLibrary;
00035 }
00036
00037 namespace gnash {
00038
00039 class MovieFactory
00040 {
00041 public:
00042
00044
00084 static DSOEXPORT boost::intrusive_ptr<movie_definition> makeMovie(
00085 const URL& url,
00086 const RunResources& runResources, const char* real_url = NULL,
00087 bool startLoaderThread = true, const std::string* postdata = NULL);
00088
00090
00113 static DSOEXPORT boost::intrusive_ptr<movie_definition> makeMovie(
00114 std::auto_ptr<IOChannel> in,
00115 const std::string& url, const RunResources& runResources,
00116 bool startLoaderThread);
00117
00118 static MovieLibrary movieLibrary;
00119 };
00120
00121 }
00122
00123
00124 #endif // GNASH_IMPL_H
00125
00126
00127
00128
00129
00130