20 lines
283 B
C
Raw Normal View History

2022-01-06 15:29:19 -04:00
#pragma once
#include <QQmlApplicationEngine>
namespace Global
{
class Singleton
{
public:
QQmlApplicationEngine* engine();
static Singleton* instance();
private:
static Singleton* theInstance;
explicit Singleton();
QQmlApplicationEngine* m_engine;
};
} // namespace Global