| 1234567891011121314151617181920212223 |
- #ifndef __APPCONTEXT_H__
- #define __APPCONTEXT_H__
- #include <QObject>
- #include "pluginmanager.h"
- class AppContext : public QObject
- {
- Q_OBJECT
- explicit AppContext(QObject *parent = nullptr);
- ~AppContext();
- public:
- static AppContext &instance();
- const PluginManager &pluginManager();
- private:
- PluginManager m_pluginMgr;
- };
- #endif // APPCONTEXT_H
|