LimeReport/limereport/lrdesignerplugininterface.h

29 lines
776 B
C
Raw Permalink Normal View History

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