-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.cpp
More file actions
38 lines (32 loc) · 751 Bytes
/
Copy pathMain.cpp
File metadata and controls
38 lines (32 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <Engine3DRadSpace/Logging/Message.hpp>
#include <Engine3DRadSpace/Plugins/EditorPlugin.hpp>
using namespace Engine3DRadSpace::Plugins;
using namespace Engine3DRadSpace::Logging;
extern "C"
{
__declspec(dllexport) bool PluginMain();
__declspec(dllexport) bool PluginUnload();
__declspec(dllexport) PluginInfo LoadPluginInfo();
}
bool PluginMain()
{
SetLastMessage("Hello world!");
return true;
}
bool PluginUnload()
{
SetLastMessage("Unloading example plugin");
return true;
}
PluginInfo LoadPluginInfo()
{
return PluginInfo
{
.Name = "3DRadSpace Hello World Plugin",
.Version = "1.0.0",
.Author = "3DRadSpace",
.Description = "Hello world",
.Homepage = "3dradspace.github.io",
.IconFilename = "3DRadSpace.png"
};
}