#ifndef __CONFIG_H__ #define __CONFIG_H__ #include #include class Config:QObject{ Q_OBJECT public: Config(QString conf); void load(); QString getLIRCbutton(QString btn); QString getOption(QString opt); QString getProgram(QString file); bool isMountPoint(QString dir); private: QString configfile; typedef QMap lut; lut general; lut programs; lut buttons; }; #endif