1
0
mirror of synced 2026-01-23 10:37:40 +00:00
2020-09-09 15:11:45 -07:00

40 lines
728 B
C++

#ifndef __UI_H__
#define __UI_H__
#include <stdint.h>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/info_parser.hpp>
#include <boost/function.hpp>
#include "cray_types.h"
#include "exceptions.h"
#include "utils.h"
#include "commands.h"
// Abstract interface to implement I/O channels
enum class PeripheralType_e {
Disk,
Tape,
Network,
Console,
Expander,
Bmx,
Printer,
Other
};
extern const char *PeripheralTypeNames[];
typedef boost::property_tree::ptree StatusReport_c;
/*
struct UIHook_s {
boost::function<void()> Callback;
int TriggerKey;
};
*/
typedef std::vector<std::unique_ptr<CmdFactoryBase_i>> CommandHooks_t;
#endif // __UI_H__