#ifndef LPDESIGNER_H #define LPDESIGNER_H #include "lpdsgdefine.h" #include "SystemStateInfo.h" #include class IDetectorEngine; class IDetectorTask; class IDetectorUISink { public: virtual void OnManualTrigger() = 0; virtual void ResetItem(QPoint pos, QRect size) = 0; virtual void OnSetParam(IDetectorTask* pTask) = 0; }; class IDetectorUI { public: virtual bool ShowDeviceMgrDlg() = 0; virtual bool ShowSolutionMgrDlg() = 0; virtual bool ShowMainFrame() = 0; virtual bool ShowReportView(QMap statInfo) = 0; }; #ifdef LPDESIGNER_LIB # define LPDESIGNER_EXPORT extern "C" __declspec(dllexport) #else # define LPDESIGNER_EXPORT extern "C" __declspec(dllimport) #endif typedef void(*FnLpDesignerNewInstance)(IDetectorUI **lppDetectorUI, IDetectorEngine *lpDE, IDetectorUISink* lpSink); LPDESIGNER_EXPORT void LpDesignerNewInstance(IDetectorUI **lppDetectorUI, IDetectorEngine *lpDE, IDetectorUISink* lpSink); LPDESIGNER_EXPORT bool LpDesignerDeleteInstance(); #endif // LPDESIGNER_H