You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
515 B

#pragma once
#include <boost/optional.hpp>
#include <gdk/gdk.h>
#include <regex>
#include <string>
#include <vector>
class Commands {
public:
class Command {
public:
guint key;
GdkModifierType modifier;
boost::optional<std::regex> path;
std::string compile;
std::string run;
bool debug;
std::string debug_remote_host;
std::string label;
};
static Commands &get() {
static Commands instance;
return instance;
}
std::vector<Command> commands;
void load();
};