add launcher info for launcher plugin
This commit is contained in:
@@ -404,3 +404,16 @@ void(WINAPI * cuInit)(unsigned int flags) = (void(WINAPI*)(unsigned int flags))G
|
|||||||
// needed to close the OpenGL window (freeglut only)
|
// needed to close the OpenGL window (freeglut only)
|
||||||
HMODULE glutModule = LoadLibraryW(L"glut32.dll");
|
HMODULE glutModule = LoadLibraryW(L"glut32.dll");
|
||||||
void(__stdcall * glutMainLoopEventDynamic)() = (void(__stdcall*)())GetProcAddress(glutModule, "glutMainLoopEvent");
|
void(__stdcall * glutMainLoopEventDynamic)() = (void(__stdcall*)())GetProcAddress(glutModule, "glutMainLoopEvent");
|
||||||
|
|
||||||
|
|
||||||
|
using namespace PluginConfig;
|
||||||
|
|
||||||
|
extern "C" __declspec(dllexport) LPCWSTR GetPluginName(void)
|
||||||
|
{
|
||||||
|
return L"Launcher";
|
||||||
|
}
|
||||||
|
|
||||||
|
extern "C" __declspec(dllexport) LPCWSTR GetPluginDescription(void)
|
||||||
|
{
|
||||||
|
return L"PD Launcher is the window you currently have open.\nYou can disable it if you want, but you'll need to edit config.ini if you ever want to re-enable it.";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user