-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCESPlugIn.cpp
More file actions
32 lines (28 loc) · 729 Bytes
/
CESPlugIn.cpp
File metadata and controls
32 lines (28 loc) · 729 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
#include "pch.h"
#include "CESPlugIn.h"
#include <string>
CESPlugIn* pMyPlugIn = nullptr;
void __declspec (dllexport)
EuroScopePlugInInit(EuroScopePlugIn::CPlugIn** ppPlugInInstance)
{
// allocate
*ppPlugInInstance = pMyPlugIn =
new CESPlugIn();
}
void __declspec (dllexport)
EuroScopePlugInExit(void)
{
delete pMyPlugIn;
}
CESPlugIn::CESPlugIn(void)
:CPlugIn(EuroScopePlugIn::COMPATIBILITY_CODE,
"Your Plugin name",
"x.x.x",
"Your name",
"Your LICENSE")
{
using namespace std;
for (int i = 1; i <= 10000; i++) {
DisplayUserMessage("NOTAM", "DearAuthor", string("Congratulations! 'Hello World!' No." + std::to_string(i)).c_str(), 1, 0, 0, 0, 0);
}
}