-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathStripMaker.cpp
More file actions
39 lines (29 loc) · 788 Bytes
/
StripMaker.cpp
File metadata and controls
39 lines (29 loc) · 788 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
39
// StripMaker.cpp : Defines the initialization routines for the DLL and EuroScope plugin.
#include "pch.h"
#include "framework.h"
#include "StripMaker.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
BEGIN_MESSAGE_MAP(CStripMakerApp, CWinApp)
END_MESSAGE_MAP()
// CStripMakerApp construction
CStripMakerApp::CStripMakerApp()
{
}
// The one and only CStripMakerApp object
CStripMakerApp theApp;
// CStripMakerApp initialization
BOOL CStripMakerApp::InitInstance()
{
CWinApp::InitInstance();
return TRUE;
}
void __declspec (dllexport) EuroScopePlugInInit(EuroScopePlugIn::CPlugIn** ppPlugInInstance)
{
// create the instance
* ppPlugInInstance = theApp.gpMyPlugIn = new CStripMakerPlugIn();
}
void __declspec (dllexport) EuroScopePlugInExit(void) {
delete theApp.gpMyPlugIn;
}