Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
#include <Config.h>
Classes | |
class | NoConfigFilenameError |
class | ParseError |
Public Member Functions | |
Config (const std::string &filename, const std::string §ion) | |
bool | load (const std::string &firstArg) |
const char *const * | argv () const |
int | argc () const |
App configuration.
Parses a configuration file describing start args and potentially other configuration options in future. The configuration file is in TOML format.
Initially this class was created to as a developer convenience; it is a convenient place to specify args without needing to fiddle with IDE configs.
|
explicit |
int deskflow::Config::argc | ( | ) | const |
const char *const * deskflow::Config::argv | ( | ) | const |
bool deskflow::Config::load | ( | const std::string & | firstArg | ) |