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.

41 lines
904 B
C++

#ifndef LPDESIGNER_H
#define LPDESIGNER_H
#include "lpdsgdefine.h"
#include "SystemStateInfo.h"
#include <QtCore>
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 Initialize(IDetectorEngine* lpDE) = 0;
virtual bool ShowDeviceMgrDlg() = 0;
virtual bool ShowSolutionMgrDlg() = 0;
virtual bool ShowMainFrame() = 0;
virtual bool ShowReportView(QMap<QString, QVariant> statInfo) = 0;
};
#ifdef LPDESIGNER_LIB
# define LPDESIGNER_EXPORT extern "C" __declspec(dllexport)
#else
# define LPDESIGNER_EXPORT extern "C" __declspec(dllimport)
#endif
LPDESIGNER_EXPORT IDetectorUI * Lib_Designer_Init(void);
LPDESIGNER_EXPORT void Lib_Designer_Free(IDetectorUI *ptr);
#endif // LPDESIGNER_H