summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-11-11 19:10:49 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-11-11 19:10:49 +0000
commit6b77860fc0daef88db4486f71ae027fd2a5ad7f3 (patch)
tree4eb76cf750f12d23e30a1052f3167c9f60377db7 /src/context.hh
parentbc1d1ba59f031c2d320564b53dd31f069b97464e (diff)
Make Context a class, not a struct
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/context.hh b/src/context.hh
index d65e9d4e..e1715b4a 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -20,8 +20,9 @@ class KeymapManager;
// The Context object links an Client, an Editor (which may be a Window),
// and a UserInterface. It may represent an interactive user window, or
// a hook execution or a macro replay.
-struct Context
+class Context
{
+public:
Context();
explicit Context(Editor& editor);
Context(Client& client, Editor& editor);