diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-02 08:55:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-02 20:22:38 +0200 |
commit | 782f4a674c0695a31591afa5cad656a7f8ca737a (patch) | |
tree | 331af6c85f0ee912133e5196c30f1106fd84b1f2 /include/basegfx | |
parent | 6842a50a8c33aba554454fc99d1bc40a07585a2c (diff) |
drop unused MinimalSystemDependentDataManager
Change-Id: I6e5413bb79acac93abfb8398550c157e7b667a67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101942
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/utils/systemdependentdata.hxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/basegfx/utils/systemdependentdata.hxx b/include/basegfx/utils/systemdependentdata.hxx index 120e39a0e595..4486559df6fc 100644 --- a/include/basegfx/utils/systemdependentdata.hxx +++ b/include/basegfx/utils/systemdependentdata.hxx @@ -42,32 +42,6 @@ namespace basegfx virtual void flushAll() = 0; }; - class BASEGFX_DLLPUBLIC MinimalSystemDependentDataManager final : public SystemDependentDataManager - { - private: - // example of a minimal SystemDependentDataManager. It *needs to hold* - // a SystemDependentData_SharedPtr while SystemDependentDataHolder's will - // use a SystemDependentData_WeakPtr. When the held SystemDependentData_SharedPtr - // is deleted, the corresponding SystemDependentData_WeakPtr will get void. - // To make this work, a minimal SystemDependentDataManager *has* to hold at - // least that one SystemDependentData_SharedPtr. - // That SystemDependentData_SharedPtr may be (e.g. Timer-based or resource-based) - // be freed then. This minimal implementation does never free it, so all stay valid. - // The instances may still be removed by endUsage calls, but there is no - // caching/buffering mechanism involved here at all. It's an example, but - // not used - better use an advanced derivation of SystemDependentDataManager - std::set< SystemDependentData_SharedPtr > maSystemDependentDataReferences; - - public: - MinimalSystemDependentDataManager(); - virtual ~MinimalSystemDependentDataManager() override; - - virtual void startUsage(basegfx::SystemDependentData_SharedPtr& rData) override; - virtual void endUsage(basegfx::SystemDependentData_SharedPtr& rData) override; - virtual void touchUsage(basegfx::SystemDependentData_SharedPtr& rData) override; - virtual void flushAll() override; - }; - class BASEGFX_DLLPUBLIC SystemDependentData { private: |