mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 01:38:00 +00:00
21 lines
299 B
C++
21 lines
299 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
|