0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00
LimeReport/limereport/lrdesignerplugininterface.h

33 lines
846 B
C
Raw Normal View History

2017-11-24 00:13:47 +03:00
#ifndef LRDESIGNERPLUGININTERFACE_H
#define LRDESIGNERPLUGININTERFACE_H
#include "lrreportdesignwindowintrerface.h"
2017-11-24 00:13:47 +03:00
#include <QString>
#include <QVariant>
#include <QtPlugin>
QT_BEGIN_NAMESPACE
class QSettings;
class QMainWindow;
QT_END_NAMESPACE
namespace LimeReport {
class ReportDesignWindow;
class ReportEnginePrivateInterface;
} // namespace LimeReport
2017-11-24 00:13:47 +03:00
2018-06-21 13:38:47 +03:00
class LimeReportDesignerPluginInterface {
2017-11-24 00:13:47 +03:00
public:
2018-06-21 13:38:47 +03:00
virtual ~LimeReportDesignerPluginInterface() { }
virtual LimeReport::ReportDesignWindowInterface*
getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report, QWidget* parent = 0,
QSettings* settings = 0)
= 0;
2017-11-24 00:13:47 +03:00
};
Q_DECLARE_INTERFACE(LimeReportDesignerPluginInterface,
"ru.limereport.LimeReport.DesignerPluginInterface/1.0")
2017-11-24 00:13:47 +03:00
#endif // LRDESIGNERPLUGININTERFACE_H