rex/src/shells/shells.h

27 lines
475 B
C++

#ifndef REX_SHELLS_H
#define REX_SHELLS_H
#include "../json_support/JSON.h"
#include <string>
class Shell: public JSON_Loader {
public:
Shell( int LOG_LEVEL );
int load_root( Json::Value loader_root );
std::string name;
std::string path;
std::string execution_arg;
std::string source_cmd;
private:
std::string shell_definitions_path;
int LOG_LEVEL;
Logger slog;
};
#endif //REX_SHELLS_H