mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
bfa495321a
* Added Cutter plugins listing * Added SetupInterface callback * Added seekChanged signal handling to plugin
35 lines
525 B
C++
35 lines
525 B
C++
#ifndef CUTTERAPPLICATION_H
|
|
#define CUTTERAPPLICATION_H
|
|
|
|
#include <QEvent>
|
|
#include <QApplication>
|
|
#include <QList>
|
|
|
|
#include "MainWindow.h"
|
|
|
|
|
|
class CutterApplication : public QApplication
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CutterApplication(int &argc, char **argv);
|
|
~CutterApplication();
|
|
|
|
MainWindow *getMainWindow()
|
|
{
|
|
return mainWindow;
|
|
}
|
|
|
|
void loadPlugins();
|
|
|
|
protected:
|
|
bool event(QEvent *e);
|
|
|
|
private:
|
|
bool m_FileAlreadyDropped;
|
|
MainWindow *mainWindow;
|
|
};
|
|
|
|
#endif // CUTTERAPPLICATION_H
|