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.
28 lines
434 B
28 lines
434 B
6 years ago
|
#include "testapp.h"
|
||
|
#include <QtMvvmCore/ServiceRegistry>
|
||
|
|
||
|
TestApp::TestApp(QObject *parent) :
|
||
|
CoreApp(parent)
|
||
|
{}
|
||
|
|
||
|
TestPresenter *TestApp::presenter()
|
||
|
{
|
||
|
return static_cast<TestPresenter*>(CoreApp::presenter());
|
||
|
}
|
||
|
|
||
|
void TestApp::performRegistrations()
|
||
|
{
|
||
|
wasRegistered = true;
|
||
|
}
|
||
|
|
||
|
int TestApp::startApp(const QStringList &arguments)
|
||
|
{
|
||
|
startArgs = arguments;
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|
||
|
|
||
|
void TestApp::closeApp()
|
||
|
{
|
||
|
wasClosed = false;
|
||
|
}
|