Gnash  0.8.10
Defines | Functions
plugin.cpp File Reference
#include <proto/intuition.h>
#include <proto/Picasso96API.h>
#include <proto/exec.h>
#include <cstdlib>
#include <cstdarg>
#include <boost/cstdint.hpp>
#include <fstream>
#include "plugin.h"

Defines

#define FLASH_MAJOR_VERSION   "9"
#define FLASH_MINOR_VERSION   "0"
#define FLASH_REV_NUMBER   "82"
#define MIME_TYPES_HANDLED   "application/x-shockwave-flash"
#define PLUGIN_NAME   "Shockwave Flash"
#define MIME_TYPES_DESCRIPTION   MIME_TYPES_HANDLED":swf:"PLUGIN_NAME
#define FLASH_VERSION
#define PLUGIN_DESCRIPTION   "Shockwave Flash "FLASH_VERSION" Gnash "VERSION", the GNU SWF Player. \ Copyright &copy; 2006, 2007, 2008 \ <a href=\"http://www.fsf.org\">Free Software Foundation</a>, Inc.<br> \ Gnash comes with NO WARRANTY, to the extent permitted by law. \ You may redistribute copies of Gnash under the terms of the \ <a href=\"http://www.gnu.org/licenses/gpl.html\">GNU General Public \ License</a>. For more information about Gnash, see <a \ href=\"http://www.gnu.org/software/gnash/\"> \ http://www.gnu.org/software/gnash</a>. \ Compatible Shockwave Flash "FLASH_VERSION
#define DBG(x,...)   __DBG(x, ## __VA_ARGS__)

Functions

char * NPP_GetMIMEDescription (void)
 Return the MIME Type description for this plugin.
void __DBG (const char *fmt,...)
NPError NS_PluginInitialize (void)
void NS_PluginShutdown (void)
nsPluginInstanceBase * NS_NewPluginInstance (nsPluginCreateData *aCreateDataStruct)
void NS_DestroyPluginInstance (nsPluginInstanceBase *aPlugin)

Define Documentation

#define DBG (   x,
  ... 
)    __DBG(x, ## __VA_ARGS__)
#define FLASH_MAJOR_VERSION   "9"
#define FLASH_MINOR_VERSION   "0"
#define FLASH_REV_NUMBER   "82"
#define FLASH_VERSION
Value:
FLASH_MAJOR_VERSION"."\
    FLASH_MINOR_VERSION" r"FLASH_REV_NUMBER"."
#define MIME_TYPES_DESCRIPTION   MIME_TYPES_HANDLED":swf:"PLUGIN_NAME
#define MIME_TYPES_HANDLED   "application/x-shockwave-flash"

Referenced by NPP_GetMIMEDescription().

#define PLUGIN_DESCRIPTION   "Shockwave Flash "FLASH_VERSION" Gnash "VERSION", the GNU SWF Player. \ Copyright &copy; 2006, 2007, 2008 \ <a href=\"http://www.fsf.org\">Free Software Foundation</a>, Inc.<br> \ Gnash comes with NO WARRANTY, to the extent permitted by law. \ You may redistribute copies of Gnash under the terms of the \ <a href=\"http://www.gnu.org/licenses/gpl.html\">GNU General Public \ License</a>. For more information about Gnash, see <a \ href=\"http://www.gnu.org/software/gnash/\"> \ http://www.gnu.org/software/gnash</a>. \ Compatible Shockwave Flash "FLASH_VERSION
#define PLUGIN_NAME   "Shockwave Flash"

Function Documentation

void __DBG ( const char *  fmt,
  ... 
) [inline]
char * NPP_GetMIMEDescription ( void  )

Return the MIME Type description for this plugin.

References MIME_TYPES_HANDLED.

void NS_DestroyPluginInstance ( nsPluginInstanceBase *  aPlugin)

References DBG.

nsPluginInstanceBase* NS_NewPluginInstance ( nsPluginCreateData *  aCreateDataStruct)

References DBG.

NPError NS_PluginInitialize ( void  )

References DBG.

void NS_PluginShutdown ( void  )

References DBG.