nsPluginInstance Class Reference
#include <plugin.h>
Inherits nsPluginInstanceBase.
List of all members.
Public Member Functions |
| | nsPluginInstance (NPP aInstance, int16_t argc, char **argn, char **argv) |
| virtual | ~nsPluginInstance () |
| NPBool | init (NPWindow *aWindow) |
| void | shut () |
| NPBool | isInitialized () |
| NPError | GetValue (NPPVariable variable, void *value) |
| NPError | SetWindow (NPWindow *aWindow) |
| NPError | NewStream (NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype) |
| NPError | DestroyStream (NPStream *stream, NPError reason) |
| int32_t | Write (NPStream *stream, int32_t offset, int32_t len, void *buffer) |
| int32_t | WriteReady (NPStream *stream) |
| void | URLNotify (const char *url, NPReason reason, void *notifyData) |
| void | StreamAsFile (NPStream *stream, const char *fname) |
| const char * | getVersion () |
| void | draw () |
Private Member Functions |
| std::string | getPageURL () const |
Static Private Member Functions |
| static void | AsyncHelper (void *th, helper_t func, void *privArg) |
Private Attributes |
| NPP | mInstance |
| NPBool | mInitialized |
| GtkWidget * | mContainer |
| Window | mWindow |
| Display * | mDisplay |
| int | mX |
| int | mY |
| int | mWidth |
| int | mHeight |
| Visual * | mVisual |
| Colormap | mColormap |
| unsigned int | mDepth |
| std::istream | swf_stream |
| sync_stream | swf_buf |
| lightspark::SystemState * | m_sys |
| lightspark::ParseThread * | m_pt |
Detailed Description
Definition at line 58 of file plugin.h.
Constructor & Destructor Documentation
| nsPluginInstance::nsPluginInstance |
( |
NPP |
aInstance, |
|
|
int16_t |
argc, |
|
|
char ** |
argn, |
|
|
char ** |
argv | |
|
) |
| | |
| nsPluginInstance::~nsPluginInstance |
( |
|
) |
[virtual] |
Member Function Documentation
| void nsPluginInstance::AsyncHelper |
( |
void * |
th, |
|
|
helper_t |
func, |
|
|
void * |
privArg | |
|
) |
| | [static, private] |
| NPError nsPluginInstance::DestroyStream |
( |
NPStream * |
stream, |
|
|
NPError |
reason | |
|
) |
| | [virtual] |
| void nsPluginInstance::draw |
( |
|
) |
|
| string nsPluginInstance::getPageURL |
( |
|
) |
const [private] |
| NPError nsPluginInstance::GetValue |
( |
NPPVariable |
variable, |
|
|
void * |
value | |
|
) |
| | [virtual] |
| const char * nsPluginInstance::getVersion |
( |
|
) |
|
| NPBool nsPluginInstance::init |
( |
NPWindow * |
aWindow |
) |
[virtual] |
| NPBool nsPluginInstance::isInitialized |
( |
|
) |
[inline, virtual] |
| NPError nsPluginInstance::NewStream |
( |
NPMIMEType |
type, |
|
|
NPStream * |
stream, |
|
|
NPBool |
seekable, |
|
|
uint16_t * |
stype | |
|
) |
| | [virtual] |
| NPError nsPluginInstance::SetWindow |
( |
NPWindow * |
aWindow |
) |
[virtual] |
| void nsPluginInstance::shut |
( |
|
) |
[virtual] |
| void nsPluginInstance::StreamAsFile |
( |
NPStream * |
stream, |
|
|
const char * |
fname | |
|
) |
| | [virtual] |
| void nsPluginInstance::URLNotify |
( |
const char * |
url, |
|
|
NPReason |
reason, |
|
|
void * |
notifyData | |
|
) |
| | [virtual] |
| int32_t nsPluginInstance::Write |
( |
NPStream * |
stream, |
|
|
int32_t |
offset, |
|
|
int32_t |
len, |
|
|
void * |
buffer | |
|
) |
| | [virtual] |
| int32_t nsPluginInstance::WriteReady |
( |
NPStream * |
stream |
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: