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
411 B
22 lines
411 B
4 years ago
|
#ifndef MVVMAPP_H
|
||
|
#define MVVMAPP_H
|
||
|
|
||
|
#include <QtMvvmCore/CoreApp>
|
||
|
|
||
|
class MvvmApp : public QtMvvm::CoreApp
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit MvvmApp(QObject *parent = nullptr);
|
||
|
|
||
|
protected:
|
||
|
void performRegistrations() override;
|
||
|
int startApp(const QStringList &arguments) override;
|
||
|
};
|
||
|
|
||
|
#undef coreApp
|
||
|
#define coreApp static_cast<mvvmApp*>(CoreApp::instance())
|
||
|
|
||
|
#endif // MVVMAPP_H
|