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

§ VariableMap

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

Constructor & Destructor Documentation

§ nsPluginInstance()

nsPluginInstance::nsPluginInstance ( nsPluginCreateData *  data)

Constructor.

§ ~nsPluginInstance()

nsPluginInstance::~nsPluginInstance ( )
virtual

Destructor.

References DBG.

Member Function Documentation

§ DestroyStream()

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

References DBG.

Referenced by isInitialized().

§ getBitmap()

struct BitMap* nsPluginInstance::getBitmap ( )
inline

§ getHeight()

int nsPluginInstance::getHeight ( )
inline

§ getMemAddr()

unsigned char* nsPluginInstance::getMemAddr ( )
inline

§ getMemDC()

APTR nsPluginInstance::getMemDC ( )
inline

§ getMemSize()

size_t nsPluginInstance::getMemSize ( )
inline

§ getRowStride()

int nsPluginInstance::getRowStride ( )
inline

§ getVersion()

const char * nsPluginInstance::getVersion ( )

§ getWidth()

int nsPluginInstance::getWidth ( )
inline

§ getWindow()

struct Window* nsPluginInstance::getWindow ( void  )
inline

§ init()

NPBool nsPluginInstance::init ( NPWindow *  aWindow)

References DBG.

§ isInitialized()

NPBool nsPluginInstance::isInitialized ( void  )
inline

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

§ NewStream()

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

Referenced by isInitialized().

§ notify_mouse_state()

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

References x, and y.

§ shut()

void nsPluginInstance::shut ( void  )

References DBG.

§ threadMain()

void nsPluginInstance::threadMain ( void  )

References DBG.

§ Write()

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

References DBG.

Referenced by isInitialized().


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