Make Context a class, not a struct
This commit is contained in:
parent
bc1d1ba59f
commit
6b77860fc0
|
@ -9,7 +9,7 @@
|
|||
namespace Kakoune
|
||||
{
|
||||
|
||||
struct Context;
|
||||
class Context;
|
||||
|
||||
typedef std::vector<String> CandidateList;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
namespace Kakoune
|
||||
{
|
||||
|
||||
struct Context;
|
||||
class Context;
|
||||
typedef std::function<void (const String&, Context&)> HookFunc;
|
||||
|
||||
class HookManager
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
namespace Kakoune
|
||||
{
|
||||
|
||||
struct Context;
|
||||
class Context;
|
||||
|
||||
class Register
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user