1 /***********************************************************\
2   Written by: Richard Bateman (taxilian)
3 
4   Based on the default np_macmain.cpp from FireBreath
5   http://firebreath.googlecode.com
6 
7   This file has been stripped to prevent it from accidentally
8   doing anything useful.
9 \***********************************************************/
10 
11 #include <stdio.h>
12 
13 typedef void (*NPP_ShutdownProcPtr)(void);
14 typedef short NPError;
15 
16 #pragma GCC visibility push(default)
17 
18 struct NPNetscapeFuncs;
19 struct NPPluginFuncs;
20 
21 extern "C" {
22 NPError NP_Initialize(NPNetscapeFuncs* browserFuncs);
23 NPError NP_GetEntryPoints(NPPluginFuncs* pluginFuncs);
24 NPError NP_Shutdown(void);
25 }
26 
27 #pragma GCC visibility pop
28 
initPluginModule()29 void initPluginModule()
30 {
31 }
32 
NP_GetEntryPoints(NPPluginFuncs * pFuncs)33 NPError NP_GetEntryPoints(NPPluginFuncs* pFuncs)
34 {
35   printf("NP_GetEntryPoints()\n");
36   return 0;
37 }
38 
NP_Initialize(NPNetscapeFuncs * pFuncs)39 NPError NP_Initialize(NPNetscapeFuncs* pFuncs)
40 {
41   printf("NP_Initialize()\n");
42   return 0;
43 }
44 
NP_Shutdown()45 NPError NP_Shutdown()
46 {
47   return 0;
48 }
49