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.

struct BitMap* nsPluginInstance::getBitmap ( )
inline
int nsPluginInstance::getHeight ( )
inline

References _height.

unsigned char* nsPluginInstance::getMemAddr ( )
inline

Referenced by threadMain().

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

References _height.

Referenced by threadMain().

int nsPluginInstance::getRowStride ( )
inline
const char * nsPluginInstance::getVersion ( )

References NPN_UserAgent().

int nsPluginInstance::getWidth ( )
inline

References _width.

struct Window* nsPluginInstance::getWindow ( void  )
inline

References _window.

NPBool nsPluginInstance::init ( NPWindow *  aWindow)

References _height, _width, and DBG.

NPBool nsPluginInstance::isInitialized ( void  )
inline
NPError nsPluginInstance::NewStream ( NPMIMEType  type,
NPStream *  stream,
NPBool  seekable,
uint16_t *  stype 
)
void nsPluginInstance::notify_mouse_state ( int  x,
int  y,
int  buttons 
)
inline

References x, and y.

void nsPluginInstance::shut ( void  )

References DBG.

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

References DBG.


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