mirror of https://gitlab.com/cppit/jucipp
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.
29 lines
492 B
29 lines
492 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; |
|
}; |
|
|
|
static Commands &get() { |
|
static Commands instance; |
|
return instance; |
|
} |
|
|
|
std::vector<Command> commands; |
|
void load(); |
|
};
|
|
|