Gnash  0.8.10
Public Types | Public Member Functions
nsPluginInstance Class Reference

#include <plugin.h>

List of all members.

Public Types

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

Public Member Functions

 nsPluginInstance (nsPluginCreateData *)
 Constructor.
virtual ~nsPluginInstance ()
 Destructor.
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, read]
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, read]

References _window.

NPBool nsPluginInstance::init ( NPWindow *  aWindow)

References DBG, _width, and _height.

Referenced by threadMain().

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: