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.

20 lines
367 B
C++

#include "lpdesigner.h"
#include "LPDsg.h"
void LpDesignerNewInstance(IDetectorUI **lppDetectorUI, IDetectorEngine *lpDE, IDetectorUISink* lpSink)
{
CDetectorUI *g_pDetectUI = new CDetectorUI;
if (g_pDetectUI)
{
if(!g_pDetectUI->Initialize(lpDE))
return;
}
*lppDetectorUI = (IDetectorUI *)g_pDetectUI;
}
bool LpDesignerDeleteInstance()
{
return true;
}