Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
npevents.cpp File Reference
#include "nsplugin.h"
#include "nsIServiceManager.h"
#include "nsISupports.h"
#include "nsIFactory.h"
#include "nsIGenericFactory.h"
#include "nsString.h"
#include "nsIAllocator.h"
#include "nsIEventsPluginInstance.h"
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Classes

class  EventsPluginInstance
class  EventsPluginStreamListener

Defines

#define EVENTSPLUGIN_DEBUG
#define NS_EVENTSAMPLEPLUGIN_CID   { 0xcb2ef72a, 0x856a, 0x4818, { 0x8e, 0x72, 0x34, 0x39, 0x39, 0x5e, 0x33, 0x5f } }
 {CB2EF72A-856A-4818-8E72-3439395E335F}
#define PLUGIN_MIME_TYPE   "application/x-events-sample-plugin"

Functions

static NS_DEFINE_CID (kPluginManagerCID, NS_PLUGINMANAGER_CID)
static NS_DEFINE_CID (kEventsPluginCID, NS_EVENTSAMPLEPLUGIN_CID)

Variables

const char * kPluginName = "Events Sample Plug-in"
const char * kPluginDescription = "Sample plugin that demonstrates events, focus and keystrokes."
static const char * kMimeTypes []
static const char * kMimeDescriptions []
static const char * kFileExtensions []
static const PRInt32 kNumMimeTypes = sizeof(kMimeTypes) / sizeof(*kMimeTypes)
static const nsModuleComponentInfo gComponentInfo []

Define Documentation

Definition at line 71 of file npevents.cpp.

#define NS_EVENTSAMPLEPLUGIN_CID   { 0xcb2ef72a, 0x856a, 0x4818, { 0x8e, 0x72, 0x34, 0x39, 0x39, 0x5e, 0x33, 0x5f } }

{CB2EF72A-856A-4818-8E72-3439395E335F}

Definition at line 76 of file npevents.cpp.

#define PLUGIN_MIME_TYPE   "application/x-events-sample-plugin"

Definition at line 110 of file npevents.cpp.


Function Documentation

static NS_DEFINE_CID ( kPluginManagerCID  ,
NS_PLUGINMANAGER_CID   
) [static]
static NS_DEFINE_CID ( kEventsPluginCID  ,
NS_EVENTSAMPLEPLUGIN_CID   
) [static]

Variable Documentation

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

Definition at line 120 of file npevents.cpp.

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

Definition at line 116 of file npevents.cpp.

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

Definition at line 112 of file npevents.cpp.

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

Definition at line 124 of file npevents.cpp.

const char* kPluginDescription = "Sample plugin that demonstrates events, focus and keystrokes."

Definition at line 109 of file npevents.cpp.

const char* kPluginName = "Events Sample Plug-in"

Definition at line 108 of file npevents.cpp.