forked from Sepanta/console-emulator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
477 B
22 lines
477 B
3 years ago
|
#ifndef CONSOLEEMULATORAPP_H
|
||
|
#define CONSOLEEMULATORAPP_H
|
||
|
|
||
|
#include <QtMvvmCore/CoreApp>
|
||
|
|
||
|
class ConsoleEmulatorApp : public QtMvvm::CoreApp
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ConsoleEmulatorApp(QObject *parent = nullptr);
|
||
|
|
||
|
protected:
|
||
|
void performRegistrations() override;
|
||
|
int startApp(const QStringList &arguments) override;
|
||
|
};
|
||
|
|
||
|
#undef coreApp
|
||
|
#define coreApp static_cast<consoleEmulatorApp*>(CoreApp::instance())
|
||
|
|
||
|
#endif // CONSOLEEMULATORAPP_H
|