You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
302 B
C++

#include "lpdesigner.h"
#include "CDetectorUI.h"
LPDESIGNER_EXPORT IDetectorUI* Lib_Designer_Init(void)
{
CDetectorUI *g_pDetectUI = new CDetectorUI();
return (IDetectorUI*)g_pDetectUI;
}
LPDESIGNER_EXPORT void Lib_Designer_Free(IDetectorUI *ptr)
{
if (ptr)
{
delete ptr;
ptr = nullptr;
}
}