Migration of QtMvvm from github
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.
 
 
 
 
 

21 lines
387 B

#ifndef %{AppGuard}
#define %{AppGuard}
#include <QtMvvmCore/CoreApp>
class %{AppCn} : public QtMvvm::CoreApp
{
Q_OBJECT
public:
explicit %{AppCn}(QObject *parent = nullptr);
protected:
void performRegistrations() override;
int startApp(const QStringList &arguments) override;
};
#undef coreApp
#define coreApp static_cast<%{AppCn}*>(CoreApp::instance())
#endif // %{AppGuard}