summaryrefslogtreecommitdiff
path: root/include/core/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/screen.h')
-rw-r--r--include/core/screen.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/core/screen.h b/include/core/screen.h
index 29467d2..93a0d9c 100644
--- a/include/core/screen.h
+++ b/include/core/screen.h
@@ -127,7 +127,8 @@ class ScreenInterface : public WrapableInterface<CompScreen, ScreenInterface> {
class CompScreen :
public CompSize,
public WrapableHandler<ScreenInterface, 17>,
- public PluginClassStorage
+ public PluginClassStorage,
+ public CompOption::Class
{
public:
@@ -162,12 +163,9 @@ class CompScreen :
Display * dpy();
- CompOption::Vector & getOptions ();
-
- CompOption * getOption (const char *);
+ CompOption::Vector & getOptions () const;
- bool setOption (const char *name,
- CompOption::Value &value);
+ bool setOption (const CompString &name, CompOption::Value &value);
bool XRandr ();