summaryrefslogtreecommitdiff
path: root/include/compdisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compdisplay.h')
-rw-r--r--include/compdisplay.h51
1 files changed, 25 insertions, 26 deletions
diff --git a/include/compdisplay.h b/include/compdisplay.h
index 11820af..5a224fb 100644
--- a/include/compdisplay.h
+++ b/include/compdisplay.h
@@ -199,8 +199,8 @@ class CompDisplay : public WrapableHandler<DisplayInterface>, public CompObject
getOption (const char *);
bool
- setOption (const char *name,
- CompOptionValue *value);
+ setOption (const char *name,
+ CompOption::Value &value);
std::vector<XineramaScreenInfo> &
screenInfo ();
@@ -385,36 +385,35 @@ class CompDisplay : public WrapableHandler<DisplayInterface>, public CompObject
public:
static bool
- runCommandDispatch (CompDisplay *d,
- CompAction *action,
- CompActionState state,
- CompOption *option,
- int nOption);
+ runCommandDispatch (CompDisplay *d,
+ CompAction *action,
+ CompAction::State state,
+ CompOption::Vector &options);
static bool
- runCommandScreenshot (CompDisplay *d,
- CompAction *action,
- CompActionState state,
- CompOption *option,
- int nOption);
+ runCommandScreenshot(CompDisplay *d,
+ CompAction *action,
+ CompAction::State state,
+ CompOption::Vector &options);
static bool
- runCommandWindowScreenshot (CompDisplay *d,
- CompAction *action,
- CompActionState state,
- CompOption *option,
- int nOption);
+ runCommandWindowScreenshot(CompDisplay *d,
+ CompAction *action,
+ CompAction::State state,
+ CompOption::Vector &options);
static bool
- runCommandTerminal (CompDisplay *d,
- CompAction *action,
- CompActionState state,
- CompOption *option,
- int nOption);
-
- static CompOption *
- getDisplayOptions (CompObject *object,
- int *count);
+ runCommandTerminal (CompDisplay *d,
+ CompAction *action,
+ CompAction::State state,
+ CompOption::Vector &options);
+
+ static CompOption::Vector &
+ getDisplayOptions (CompObject *object);
+
+ static bool setDisplayOption (CompObject *object,
+ const char *name,
+ CompOption::Value &value);
};
extern Bool inHandleEvent;