Search completed in 1.34 seconds.
15 results for "NP_Initialize":
NP_Initialize - Archive of obsolete content
syntax windows #include <npapi.h> nperror winapi
np_initialize(npnetscapefuncs *anpnfuncs) unix #include <npapi.h> nperror
np_initialize(npnetscapefuncs *anpnfuncs, nppluginfuncs *anppfuncs) returns if successful, the function returns nperr_no_error.
...
np_initialize tells the plug-in that the browser has loaded it and provides global initialization.
Initialization and Destruction - Plugins
initialization: the browser calls the plug-in api function
np_initialize when the plug-in code is first loaded.
... this chapter ends with initialize and shutdown example, which includes the
np_initialize and np_shutdown methods.
... initialization the browser calls
np_initialize when a plug-in is loaded and before the first instance is created.
...And 8 more matches
Writing a plugin for Mac OS X - Archive of obsolete content
the three symbols that must always be visible are:
np_initialize() np_getentrypoints() np_shutdown() the sample plugin is written entirely in c, using a standard xcode build configuration, so by default all of its symbols are c-style and visible.
... if you want to implement your plugin in c++ or objective-c++, you need to tell the compiler to export them in c format by using extern "c" in the header, like this: #pragma gcc visibility push(default) extern "c" { nperror
np_initialize(npnetscapefuncs *browserfuncs); nperror np_getentrypoints(nppluginfuncs *pluginfuncs); void np_shutdown(void); } #pragma gcc visibility pop you can check to be sure your symbols are visible and in standard c format by using the nm utility provided among the mac os x developer tools: [user@foo mymac] nm basicplugin ...
... 00000810 t _np_getentrypoints 000007fa t _
np_initialize 000008a0 t _np_shutdown ...
Plug-in Basics - Plugins
gecko calls the plug-in api function
np_initialize when the plug-in code is first loaded.
... note:
np_initialize and np_shutdown are not technically a part of the function table that the plug-in hands to the browser.
...there are also a couple of functions (i.e.,
np_initialize and np_shutdown) that are direct library entry points and not related to any particular plug-in instance.
XEmbed Extension for Mozilla Plugins - Archive of obsolete content
this would be included in your
np_initialize function.
... nperror
np_initialize(npnetscapefuncs* nstable, nppluginfuncs* pluginfuncs) { nperror err = nperr_no_error; prbool supportsxembed = pr_false; npntoolkittype toolkit = 0; [ code that copies all of the function tables and does ] [ other standard checks ] /* * make sure that the browser supports functionality we care * about.
Index of archived content - Archive of obsolete content
npp_write npp_writeready npprint npprintcallbackstruct nprect npregion npsaveddata npsetwindowcallbackstruct npstream npstring nputf8 npvariant npvarianttype npwindow np_getmimedescription np_getvalue
np_initialize np_port np_shutdown samples and test cases shipping a plugin as a toolkit bundle supporting private browsing in plugins the first install problem writing a plugin for mac os x xembed extension for mozilla plugins sax security d...
NPP_New - Archive of obsolete content
it is called after
np_initialize and is passed the mime type, embedded or full-screen display mode, and, for embedded plug-ins, information about html embed arguments.
NPAPI plug-in side API - Archive of obsolete content
npp_destroy npp_destroystream npp_getvalue np_getvalue npp_handleevent
np_initialize npp_new npp_newstream npp_print npp_setvalue npp_setwindow np_shutdown npp_streamasfile npp_urlnotify npp_write npp_writeready ...
Gecko Plugin API Reference - Plugins
npp_destroy npp_destroystream npp_getvalue np_getvalue npp_handleevent
np_initialize npp_new npp_newstream npp_print npp_setvalue npp_setwindow np_shutdown npp_streamasfile npp_urlnotify npp_write npp_writeready browser side plug-in api this chapter describes methods in the plug-in api that are available from the browser.