summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-03-15 16:06:29 +0100
committerDennis kasprzyk <onestone@compiz-fusion.org>2009-03-15 16:06:29 +0100
commitf8cf2bc2d5a7fe2d4f90f217aa1b7f6e2d47c345 (patch)
tree38d61b9e1a4a3f447f47475e46ea2b17ae3dcd69 /src/screen.cpp
parentcb423b48a53ae10fd401d32a28c3e365a70b3b7e (diff)
downloadunity-window-decorator-f8cf2bc2d5a7fe2d4f90f217aa1b7f6e2d47c345.tar.gz
unity-window-decorator-f8cf2bc2d5a7fe2d4f90f217aa1b7f6e2d47c345.tar.bz2
Added base class for get/setOption(s) functions.
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index e4c0f07..9090ddb 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -625,13 +625,6 @@ CompScreen::dpy ()
return priv->dpy;
}
-CompOption *
-CompScreen::getOption (const char *name)
-{
- CompOption *o = CompOption::findOption (priv->opt, name);
- return o;
-}
-
bool
CompScreen::XRandr ()
{
@@ -744,13 +737,13 @@ PrivateScreen::handlePingTimeout ()
}
CompOption::Vector &
-CompScreen::getOptions ()
+CompScreen::getOptions () const
{
return priv->opt;
}
bool
-CompScreen::setOption (const char *name,
+CompScreen::setOption (const CompString &name,
CompOption::Value &value)
{
CompOption *o;