2011-06-19 15:41:06 +03:00
|
|
|
/***********************************************************\
|
|
|
|
Written by: Richard Bateman (taxilian)
|
|
|
|
|
|
|
|
Based on the default np_macmain.cpp from FireBreath
|
|
|
|
http://firebreath.googlecode.com
|
|
|
|
|
2018-04-23 21:13:27 +02:00
|
|
|
This file has been stripped to prevent it from accidentally
|
2011-06-19 15:41:06 +03:00
|
|
|
doing anything useful.
|
|
|
|
\***********************************************************/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
typedef void (*NPP_ShutdownProcPtr)(void);
|
|
|
|
typedef short NPError;
|
|
|
|
|
|
|
|
#pragma GCC visibility push(default)
|
|
|
|
|
|
|
|
struct NPNetscapeFuncs;
|
|
|
|
struct NPPluginFuncs;
|
|
|
|
|
|
|
|
extern "C" {
|
2016-07-09 11:21:54 +02:00
|
|
|
NPError NP_Initialize(NPNetscapeFuncs* browserFuncs);
|
|
|
|
NPError NP_GetEntryPoints(NPPluginFuncs* pluginFuncs);
|
|
|
|
NPError NP_Shutdown(void);
|
2011-06-19 15:41:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#pragma GCC visibility pop
|
|
|
|
|
|
|
|
void initPluginModule()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
NPError NP_GetEntryPoints(NPPluginFuncs* pFuncs)
|
|
|
|
{
|
2016-07-09 11:21:54 +02:00
|
|
|
printf("NP_GetEntryPoints()\n");
|
|
|
|
return 0;
|
2011-06-19 15:41:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
NPError NP_Initialize(NPNetscapeFuncs* pFuncs)
|
|
|
|
{
|
2016-07-09 11:21:54 +02:00
|
|
|
printf("NP_Initialize()\n");
|
|
|
|
return 0;
|
2011-06-19 15:41:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
NPError NP_Shutdown()
|
|
|
|
{
|
2016-07-09 11:21:54 +02:00
|
|
|
return 0;
|
2011-06-19 15:41:06 +03:00
|
|
|
}
|