CMake/Tests/CFBundleTest/np_macmain.cpp
luzpaz 777e87ae00 Fix trivial typos in text
Some are user facing.

Found using

    codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`

whereby the whitelist contained:

    ans
    dum
    helpfull
    emmited
    emmitted
    buil
    iff
    isnt
    nto
    ot
    pathes
    substract
    te
    todays
    upto
    whitespaces
2017-11-03 10:25:05 -04:00

49 lines
959 B
C++

/***********************************************************\
Written by: Richard Bateman (taxilian)
Based on the default np_macmain.cpp from FireBreath
http://firebreath.googlecode.com
This file has been stripped to prevent it from accidentally
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" {
NPError NP_Initialize(NPNetscapeFuncs* browserFuncs);
NPError NP_GetEntryPoints(NPPluginFuncs* pluginFuncs);
NPError NP_Shutdown(void);
}
#pragma GCC visibility pop
void initPluginModule()
{
}
NPError NP_GetEntryPoints(NPPluginFuncs* pFuncs)
{
printf("NP_GetEntryPoints()\n");
return 0;
}
NPError NP_Initialize(NPNetscapeFuncs* pFuncs)
{
printf("NP_Initialize()\n");
return 0;
}
NPError NP_Shutdown()
{
return 0;
}