Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions | Variables
npsimple.cpp File Reference
#include <stdio.h>
#include <string.h>
#include "nsplugin.h"
#include "nsIServiceManager.h"
#include "nsISupports.h"
#include "nsIFactory.h"
#include "nsIGenericFactory.h"
#include "nsMemory.h"
#include "nsString.h"
#include "simpleCID.h"
#include "nsISimplePluginInstance.h"
#include "nsIScriptablePlugin.h"

Go to the source code of this file.

Classes

struct  _PlatformInstance
class  SimplePluginInstance
class  SimplePluginStreamListener

Defines

#define PLUGIN_MIME_TYPE   "application/x-simple"

Typedefs

typedef struct _PlatformInstance PlatformInstance

Functions

static NS_DEFINE_CID (kSimplePluginCID, NS_SIMPLEPLUGIN_CID)
static NS_DEFINE_CID (kPluginManagerCID, NS_PLUGINMANAGER_CID)

Variables

static const char kPluginName [] = "Simple Sample Plug-in"
static const char kPluginDescription [] = "Demonstrates a simple plug-in."
static const char * kMimeTypes []
static const char * kMimeDescriptions []
static const char * kFileExtensions []
static const PRInt32 kNumMimeTypes = sizeof(kMimeTypes) / sizeof(*kMimeTypes)
static const nsModuleComponentInfo gComponentInfo []

Class Documentation

struct _PlatformInstance

Definition at line 77 of file nsSanePlugin.h.

Collaboration diagram for _PlatformInstance:
Class Members
Display * display
uint32 height
int placeholder
GdkSuperWin * superwin
GtkWidget * widget
uint32 width
Window window
uint16 x
uint16 y

Define Documentation

#define PLUGIN_MIME_TYPE   "application/x-simple"

Definition at line 160 of file npsimple.cpp.


Typedef Documentation


Function Documentation

static NS_DEFINE_CID ( kSimplePluginCID  ,
NS_SIMPLEPLUGIN_CID   
) [static]
static NS_DEFINE_CID ( kPluginManagerCID  ,
NS_PLUGINMANAGER_CID   
) [static]

Variable Documentation

const char* kFileExtensions[] [static]
Initial value:
 {
    "smp"
}

Definition at line 173 of file npsimple.cpp.

const char* kMimeDescriptions[] [static]
Initial value:
 {
    "Simple Sample Plug-in"
}

Definition at line 169 of file npsimple.cpp.

const char* kMimeTypes[] [static]
Initial value:

Definition at line 165 of file npsimple.cpp.

const PRInt32 kNumMimeTypes = sizeof(kMimeTypes) / sizeof(*kMimeTypes) [static]

Definition at line 177 of file npsimple.cpp.

const char kPluginDescription[] = "Demonstrates a simple plug-in." [static]

Definition at line 163 of file npsimple.cpp.

const char kPluginName[] = "Simple Sample Plug-in" [static]

Definition at line 162 of file npsimple.cpp.