Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include "config.h"
#include "EvBrowserPlugin.h"
#include "EvMemoryUtils.h"
#include "npfunctions.h"
#include "npruntime.h"
#include <gdk/gdk.h>
Go to the source code of this file.
Functions | |
static EvBrowserPlugin * | pluginForInstance (NPP instance) |
NPError | NPP_New (NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *savedData) |
NPError | NPP_Destroy (NPP instance, NPSavedData **saveData) |
NPError | NPP_SetWindow (NPP instance, NPWindow *window) |
NPError | NPP_NewStream (NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype) |
NPError | NPP_DestroyStream (NPP instance, NPStream *stream, NPReason reason) |
void | NPP_StreamAsFile (NPP instance, NPStream *stream, const char *fname) |
int32_t | NPP_WriteReady (NPP instance, NPStream *stream) |
int32_t | NPP_Write (NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer) |
void | NPP_Print (NPP instance, NPPrint *platformPrint) |
int16_t | NPP_HandleEvent (NPP instance, void *event) |
void | NPP_URLNotify (NPP instance, const char *url, NPReason reason, void *notifyData) |
NPError | NPP_GetValue (NPP instance, NPPVariable variable, void *value) |
NPError | NPP_SetValue (NPP, NPNVariable, void *) |
static void | initializePluginFuncs (NPPluginFuncs *pluginFuncs) |
NPError | NP_Initialize (NPNetscapeFuncs *browserFuncs, NPPluginFuncs *pluginFuncs) |
NPError | NP_Shutdown () |
const char * | NP_GetMIMEDescription () |
NPError | NP_GetValue (void *, NPPVariable variable, void *value) |
NPObject * | NPN_CreateObject (NPP instance, NPClass *npClass) |
void | NPN_GetStringIdentifiers (const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers) |
NPError | NPN_GetURL (NPP instance, const char *url, const char *target) |
const char * | NPN_UserAgent (NPP instance) |
void * | NPN_MemAlloc (uint32_t size) |
void | NPN_MemFree (void *ptr) |
static void | __attribute__ ((constructor)) browserPluginConstructor() |
static void | __attribute__ ((destructor)) browserPluginDestructor() |
Variables | |
static NPNetscapeFuncs * | browser |
static unique_gptr< char > | mimeDescription |
struct { | |
const char * mime | |
const char * extensions | |
} | mimeExtensions [] |
|
static |
Definition at line 354 of file EvBrowserPluginMain.cpp.
|
static |
Definition at line 359 of file EvBrowserPluginMain.cpp.
|
static |
const char* NP_GetMIMEDescription | ( | ) |
Definition at line 271 of file EvBrowserPluginMain.cpp.
NPError NP_GetValue | ( | void * | , |
NPPVariable | variable, | ||
void * | value | ||
) |
Definition at line 318 of file EvBrowserPluginMain.cpp.
NPError NP_Initialize | ( | NPNetscapeFuncs * | browserFuncs, |
NPPluginFuncs * | pluginFuncs | ||
) |
Definition at line 192 of file EvBrowserPluginMain.cpp.
NPError NP_Shutdown | ( | ) |
Definition at line 227 of file EvBrowserPluginMain.cpp.
void NPN_GetStringIdentifiers | ( | const NPUTF8 ** | names, |
int32_t | nameCount, | ||
NPIdentifier * | identifiers | ||
) |
void* NPN_MemAlloc | ( | uint32_t | size) |
void NPN_MemFree | ( | void * | ptr) |
Definition at line 348 of file EvBrowserPluginMain.cpp.
const char* NPN_UserAgent | ( | NPP | instance) |
NPError NPP_Destroy | ( | NPP | instance, |
NPSavedData ** | saveData | ||
) |
NPError NPP_GetValue | ( | NPP | instance, |
NPPVariable | variable, | ||
void * | value | ||
) |
int16_t NPP_HandleEvent | ( | NPP | instance, |
void * | event | ||
) |
NPError NPP_New | ( | NPMIMEType | pluginType, |
NPP | instance, | ||
uint16_t | mode, | ||
int16_t | argc, | ||
char * | argn[], | ||
char * | argv[], | ||
NPSavedData * | savedData | ||
) |
Definition at line 41 of file EvBrowserPluginMain.cpp.
NPError NPP_NewStream | ( | NPP | instance, |
NPMIMEType | type, | ||
NPStream * | stream, | ||
NPBool | seekable, | ||
uint16_t * | stype | ||
) |
NPError NPP_SetValue | ( | NPP | , |
NPNVariable | , | ||
void * | |||
) |
|
static |
|
static |
Definition at line 30 of file EvBrowserPluginMain.cpp.
const char* extensions |
Definition at line 235 of file EvBrowserPluginMain.cpp.
const char* mime |
Definition at line 234 of file EvBrowserPluginMain.cpp.
|
static |
Definition at line 31 of file EvBrowserPluginMain.cpp.
struct { ... } mimeExtensions[] |