openbox/src/config.hh
Dana Jansens 059bc4dc24 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.
2003-02-14 03:04:23 +00:00

29 lines
513 B
C++

// -*- 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