diff options
author | hjk <hjk@qt.io> | 2018-01-26 14:27:32 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-01-26 17:27:15 +0000 |
commit | 5250959bd944082a8bc44edec1fa20fb3dec533a (patch) | |
tree | 93fb8bdb4ba20c262ec7223d2694f8cbaeea7362 /src/plugins/fakevim/fakevimplugin.h | |
parent | 268efa4a0bc45b331d2f989690124af0860a98ff (diff) |
FakeVim: Reorganize internal class dependencies
Initially, this was just meant to remove the nowadays unneeded
object pool registrations, but some of the internal encapsalization
is not much more than line noise. So do what most other plugins do:
Keep a global pointer to most of the 'singleton' data, instead of
passing around one value that will never be different.
Change-Id: I24bf02d1ffa53c8f0d4890db3579a434b1233d42
Reviewed-by: Lukas Holecek <hluk@email.cz>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/fakevim/fakevimplugin.h')
-rw-r--r-- | src/plugins/fakevim/fakevimplugin.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/fakevim/fakevimplugin.h b/src/plugins/fakevim/fakevimplugin.h index 60789b8711..98f526ce44 100644 --- a/src/plugins/fakevim/fakevimplugin.h +++ b/src/plugins/fakevim/fakevimplugin.h @@ -31,7 +31,6 @@ namespace FakeVim { namespace Internal { class FakeVimHandler; -class FakeVimPluginPrivate; class FakeVimPlugin : public ExtensionSystem::IPlugin { @@ -50,7 +49,6 @@ private: private: friend class FakeVimPluginPrivate; - FakeVimPluginPrivate *d; #ifdef WITH_TESTS private slots: |