mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
20 lines
283 B
C++
20 lines
283 B
C++
#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
|