Source

pynoto / src / Theme / ThemePlugin.h

Full commit
#ifndef _THEMEPLUGIN_H_
#define _THEMEPLUGIN_H_
#include "IThemePlugin.h"

namespace Theme {

class ThemePlugin : public IThemePlugin
{
    Q_OBJECT
    Q_INTERFACES(Theme::IThemePlugin)
public:
    virtual ~ThemePlugin();

    virtual bool initialize();
    virtual ITheme * theme(const QString& name);
    virtual QStringList themesList();
    virtual bool editTheme(const QString& name);
signals:
    void themeChanged(const QString& what);
private:
    QMap<QString, ITheme*> _themes;
};

}
#endif