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.
|
|
|
#ifndef QTMVVM_COREAPP_P_H
|
|
|
|
#define QTMVVM_COREAPP_P_H
|
|
|
|
|
|
|
|
#include <QtCore/QPointer>
|
|
|
|
|
|
|
|
#include "qtmvvmcore_global.h"
|
|
|
|
#include "coreapp.h"
|
|
|
|
|
|
|
|
namespace QtMvvm {
|
|
|
|
|
|
|
|
class Q_MVVMCORE_EXPORT CoreAppPrivate
|
|
|
|
{
|
|
|
|
friend class QtMvvm::CoreApp;
|
|
|
|
|
|
|
|
public:
|
|
|
|
static QScopedPointer<CoreAppPrivate> &dInstance();
|
|
|
|
void showViewModel(const QMetaObject *metaObject, const QVariantHash ¶ms, QPointer<ViewModel> parent, quint32 requestCode);
|
|
|
|
|
|
|
|
IPresenter *currentPresenter() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
CoreAppPrivate();
|
|
|
|
|
|
|
|
static bool bootEnabled;
|
|
|
|
static QPointer<CoreApp> instance;
|
|
|
|
|
|
|
|
QScopedPointer<IPresenter> presenter;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // QTMVVM_COREAPP_P_H
|