Gnash  0.8.11dev
Public Types | Public Member Functions | List of all members
nsPluginInstance Class Reference

#include <plugin.h>

Inheritance diagram for nsPluginInstance:

Public Types

typedef std::map< std::string, std::string > VariableMap
 

Public Member Functions

 nsPluginInstance (nsPluginCreateData *)
 Constructor. More...
 
virtual ~nsPluginInstance ()
 Destructor. More...
 
NPBool init (NPWindow *aWindow)
 
void shut (void)
 
NPBool isInitialized (void)
 
NPError NewStream (NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype)
 
NPError DestroyStream (NPStream *stream, NPError reason)
 
int32 Write (NPStream *stream, int32 offset, int32 len, void *buffer)
 
const char * getVersion ()
 
void threadMain (void)
 
struct Window * getWindow ()
 
int getWidth ()
 
int getHeight ()
 
int getRowStride ()
 
APTR getMemDC ()
 
struct BitMap * getBitmap ()
 
unsigned char * getMemAddr ()
 
size_t getMemSize ()
 
void notify_mouse_state (int x, int y, int buttons)
 

Member Typedef Documentation

typedef std::map<std::string, std::string> nsPluginInstance::VariableMap

Constructor & Destructor Documentation

nsPluginInstance::nsPluginInstance ( nsPluginCreateData *  data)

Constructor.

References DBG.

nsPluginInstance::~nsPluginInstance ( )
virtual

Destructor.

References DBG.

Member Function Documentation

NPError nsPluginInstance::DestroyStream ( NPStream *  stream,
NPError  reason 
)

References DBG.

Referenced by isInitialized().

struct BitMap* nsPluginInstance::getBitmap ( )
inline
int nsPluginInstance::getHeight ( )
inline
unsigned char* nsPluginInstance::getMemAddr ( )
inline

Referenced by threadMain().

APTR nsPluginInstance::getMemDC ( )
inline
size_t nsPluginInstance::getMemSize ( )
inline

Referenced by threadMain().

int nsPluginInstance::getRowStride ( )
inline
const char * nsPluginInstance::getVersion ( )
int nsPluginInstance::getWidth ( )
inline
struct Window* nsPluginInstance::getWindow ( void  )
inline
NPBool nsPluginInstance::init ( NPWindow *  aWindow)

References DBG.

NPBool nsPluginInstance::isInitialized ( void  )
inline

References DestroyStream(), NewStream(), and Write().

NPError nsPluginInstance::NewStream ( NPMIMEType  type,
NPStream *  stream,
NPBool  seekable,
uint16_t *  stype 
)

Referenced by isInitialized(), and shut().

void nsPluginInstance::notify_mouse_state ( int  x,
int  y,
int  buttons 
)
inline

References x, and y.

void nsPluginInstance::shut ( void  )

References DBG, and NewStream().

void nsPluginInstance::threadMain ( void  )
int32 nsPluginInstance::Write ( NPStream *  stream,
int32  offset,
int32  len,
void *  buffer 
)

References DBG, and threadMain().

Referenced by isInitialized().


The documentation for this class was generated from the following files: