2003-02-14 03:04:23 +00:00
|
|
|
// -*- 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 {
|
|
|
|
|
2003-02-16 18:14:05 +00:00
|
|
|
class Config {
|
|
|
|
int _screen;
|
|
|
|
|
|
|
|
public:
|
2003-02-14 03:04:23 +00:00
|
|
|
std::vector<otk::ustring> desktop_names;
|
|
|
|
otk::ustring theme;
|
|
|
|
otk::ustring titlebar_layout;
|
|
|
|
long double_click_delay;
|
|
|
|
long drag_threshold;
|
|
|
|
long num_desktops;
|
|
|
|
|
2003-02-16 18:14:05 +00:00
|
|
|
Config(int screen);
|
2003-02-14 05:48:31 +00:00
|
|
|
~Config();
|
2003-02-16 18:14:05 +00:00
|
|
|
|
|
|
|
void load();
|
2003-02-14 03:04:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __config_hh
|