20 #ifndef UNITYMENUMODELCACHE_H
21 #define UNITYMENUMODELCACHE_H
23 #include "unityindicatorsglobal.h"
30 class UNITYINDICATORS_EXPORT UnityMenuModelCache :
public QObject
34 UnityMenuModelCache(QObject*parent=NULL);
35 ~UnityMenuModelCache();
37 Q_INVOKABLE UnityMenuModel* model(
const QString& path)
const;
38 Q_INVOKABLE
void registerModel(
const QString& path, UnityMenuModel* menuModel);
41 QHash<QString, UnityMenuModel*> m_menuModels;
44 #endif // UNITYMENUMODELCACHE_H