mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
29 lines
467 B
C++
29 lines
467 B
C++
#ifndef CUTTERAPPLICATION_H
|
|
#define CUTTERAPPLICATION_H
|
|
|
|
#include <QEvent>
|
|
#include <QApplication>
|
|
|
|
#include "MainWindow.h"
|
|
|
|
|
|
class CutterApplication : public QApplication
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CutterApplication(int &argc, char **argv);
|
|
~CutterApplication();
|
|
|
|
MainWindow *getMainWindow() { return mainWindow; }
|
|
|
|
protected:
|
|
bool event(QEvent *e);
|
|
|
|
private:
|
|
bool m_FileAlreadyDropped;
|
|
MainWindow *mainWindow;
|
|
};
|
|
|
|
#endif // CUTTERAPPLICATION_H
|