summaryrefslogtreecommitdiff
path: root/src/privateaction.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-20 01:43:20 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-20 01:43:20 +0200
commit94de9e6dcc21bf9cd747138da2ba7029e7045716 (patch)
treed757557ff77ef9052fa5dee4eea626bf955c167d /src/privateaction.h
parent79d78d3f60e683411a075fe44fe4ab862d0fadc6 (diff)
downloadunity-window-decorator-94de9e6dcc21bf9cd747138da2ba7029e7045716.tar.gz
unity-window-decorator-94de9e6dcc21bf9cd747138da2ba7029e7045716.tar.bz2
Port of CompOption and CompAction to C++.
Diffstat (limited to 'src/privateaction.h')
-rw-r--r--src/privateaction.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/privateaction.h b/src/privateaction.h
new file mode 100644
index 0000000..71635fd
--- /dev/null
+++ b/src/privateaction.h
@@ -0,0 +1,26 @@
+#ifndef _PRIVATEACTION_H
+#define _PRIVATEACTION_H
+
+class PrivateAction {
+ public:
+ PrivateAction ();
+ PrivateAction (const PrivateAction&);
+
+ CompAction::CallBack initiate;
+ CompAction::CallBack terminate;
+
+ CompAction::State state;
+
+ CompAction::BindingType type;
+
+ CompAction::KeyBinding key;
+ CompAction::ButtonBinding button;
+
+ bool bell;
+
+ unsigned int edgeMask;
+
+ CompPrivate priv;
+};
+
+#endif