summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-03-20 14:30:55 +0200
committerTor Lillqvist <tml@collabora.com>2018-03-20 19:11:04 +0200
commitc5fc1a0bbffa73d0a7249f8b38823588446831c8 (patch)
treef8a2786938ac9507fbec0de1103b083eeafb3100 /include
parent406edb6407532ed725165c2d7e1d360680050377 (diff)
Mention that SfxApplication is a singleton
Change-Id: Ib1f46c9172285245ed7bbc1fab299d29928c4d10
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/app.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index d3384e7f5a38..b4d31614917b 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -112,6 +112,8 @@ public:
GetValue() const { return aLink; }
};
+// This is a singleton class. Sad that there apparently is no other
+// way than a comment like this to indicate that to the code reader.
class SFX2_DLLPUBLIC SfxApplication: public SfxShell
{
std::unique_ptr<SfxAppData_Impl> pImpl;