mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-01 19:51:30 +03:00
plugin extracted
This commit is contained in:
30
limereport/lrdesignerplugininterface.h
Normal file
30
limereport/lrdesignerplugininterface.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef LRDESIGNERPLUGININTERFACE_H
|
||||
#define LRDESIGNERPLUGININTERFACE_H
|
||||
|
||||
#include <QString>
|
||||
#include <QVariant>
|
||||
|
||||
#include <QtPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QSettings;
|
||||
class QMainWindow;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace LimeReport {
|
||||
class ReportDesignWindow;
|
||||
class ReportEnginePrivateInterface;
|
||||
}
|
||||
|
||||
class LimeReportPluginInterface {
|
||||
public:
|
||||
virtual ~LimeReportPluginInterface() { }
|
||||
|
||||
virtual QString getString() const = 0;
|
||||
virtual QVariant getVar() const = 0;
|
||||
virtual QMainWindow* getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report, QWidget *parent = 0, QSettings* settings=0) = 0;
|
||||
};
|
||||
|
||||
Q_DECLARE_INTERFACE( LimeReportPluginInterface, "ru.limereport.LimeReport.DesignerPluginInterface/1.0" )
|
||||
|
||||
#endif // LRDESIGNERPLUGININTERFACE_H
|
Reference in New Issue
Block a user