Gnash
0.8.10
|
Helper class handling start and execution of a loading thread. More...
#include <SWFMovieDefinition.h>
Public Member Functions | |
SWFMovieLoader (SWFMovieDefinition &md) | |
~SWFMovieLoader () | |
bool | start () |
Start loading thread. | |
bool | started () const |
Return true if the loader thread was started. | |
bool | isSelfThread () const |
Return true if called from the loader thread. |
Helper class handling start and execution of a loading thread.
gnash::SWFMovieLoader::SWFMovieLoader | ( | SWFMovieDefinition & | md | ) |
gnash::SWFMovieLoader::~SWFMovieLoader | ( | ) |
bool gnash::SWFMovieLoader::isSelfThread | ( | ) | const |
Return true if called from the loader thread.
Referenced by gnash::SWFMovieDefinition::read_all_swf().
bool gnash::SWFMovieLoader::start | ( | ) |
Start loading thread.
The associated SWFMovieDefinition instance is expected to have already read the SWF header and applied a zlib adapter if needed.
Referenced by gnash::SWFMovieDefinition::completeLoad().
bool gnash::SWFMovieLoader::started | ( | ) | const |
Return true if the loader thread was started.
Referenced by gnash::SWFMovieDefinition::completeLoad(), and gnash::SWFMovieDefinition::read_all_swf().