From c9773d5a699c25f1a010e8e082add052a87c6f6c Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Tue, 8 Oct 2019 14:42:19 +1100 Subject: [PATCH] add launcher info for launcher plugin --- source-code/source/plugins/Launcher/framework.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source-code/source/plugins/Launcher/framework.h b/source-code/source/plugins/Launcher/framework.h index 7493bd8..086ba0d 100644 --- a/source-code/source/plugins/Launcher/framework.h +++ b/source-code/source/plugins/Launcher/framework.h @@ -404,3 +404,16 @@ void(WINAPI * cuInit)(unsigned int flags) = (void(WINAPI*)(unsigned int flags))G // needed to close the OpenGL window (freeglut only) HMODULE glutModule = LoadLibraryW(L"glut32.dll"); 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."; +} \ No newline at end of file