diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-02 18:29:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-13 18:07:14 -0400 |
commit | 5c6ee09126631342939ae8766fe36083d8c011e3 (patch) | |
tree | 48081d36ae5000542adb49cc037267992f59ec66 /include/svl | |
parent | b5bb15013617c6b9f1cdd089acae0bfb7104fa3a (diff) |
fdo#81309: Adjust references during sort.
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/listener.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/svl/listener.hxx b/include/svl/listener.hxx index 1c9845843bd1..8b47fda968b4 100644 --- a/include/svl/listener.hxx +++ b/include/svl/listener.hxx @@ -34,6 +34,16 @@ class SVL_DLLPUBLIC SvtListener const SvtListener& operator=(const SvtListener &); // n.i., ist verboten public: + class SVL_DLLPUBLIC QueryBase + { + sal_uInt16 mnId; + public: + QueryBase( sal_uInt16 nId ); + virtual ~QueryBase(); + + sal_uInt16 getId() const; + }; + SvtListener(); SvtListener( const SvtListener &r ); virtual ~SvtListener(); @@ -43,9 +53,11 @@ public: void EndListeningAll(); bool IsListening( SvtBroadcaster& rBroadcaster ) const; + void CopyAllBroadcasters( const SvtListener& r ); bool HasBroadcaster() const; virtual void Notify( const SfxHint& rHint ); + virtual void Query( QueryBase& rQuery ) const; }; |