// // C++ Interface: CoreRoutines // // Description: // // // Author: Joachim Schiele , (C) 2009 // // Copyright: See COPYING file that comes with this distribution // // #ifndef COREROUTINES_H #define COREROUTINES_H #include #include #include #include #include "execute_process.h" /** @author Joachim Schiele */ class CoreRoutines :public QObject { Q_OBJECT public: CoreRoutines(); ~CoreRoutines(); public Q_SLOTS: uint listConfigs(); // returns the count of config files found QString queryConfigurationName(int pos); // config at position pos in the configs vector void reloadConfigurations(); // rereads the QVector with /root/configs/* files uint executeConfiguration(QString config); // executes a given config private: QVector configs; execute_process ep; }; #endif