diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-14 03:04:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-14 03:04:23 +0000 |
| commit | 059bc4dc24b68d637c3608c05344c53c64cc2c4b (patch) | |
| tree | 6772afd49bd8c7ea1cb07d8af631f25a618f5e11 /src/config.hh | |
| parent | 1431cd19584e750309561e0054fd013d566965cb (diff) | |
add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
Diffstat (limited to 'src/config.hh')
| -rw-r--r-- | src/config.hh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/config.hh b/src/config.hh new file mode 100644 index 00000000..8f8144e3 --- /dev/null +++ b/src/config.hh @@ -0,0 +1,29 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- +#ifndef __config_hh +#define __config_hh + +/*! @file config.hh + @brief The Config class contains configuration options set by the user's + scripts +*/ + +#include "otk/ustring.hh" + +#include <vector> + +namespace ob { + +struct Config { + std::vector<otk::ustring> desktop_names; + otk::ustring theme; + otk::ustring titlebar_layout; + long double_click_delay; + long drag_threshold; + long num_desktops; + + Config(); +}; + +} + +#endif // __config_hh |
