• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List
  • File Members

MovieFactory.h

Go to the documentation of this file.
00001 // 
00002 //   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
00003 //   Foundation, Inc
00004 // 
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 3 of the License, or
00008 // (at your option) any later version.
00009 // 
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
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 } // namespace gnash
00122 
00123 
00124 #endif // GNASH_IMPL_H
00125 
00126 
00127 // Local Variables:
00128 // mode: C++
00129 // indent-tabs-mode: t
00130 // End:

Generated on Fri Mar 16 2012 15:46:11 for Gnash by  doxygen 1.7.1