diff options
Diffstat (limited to 'include/svl/listener.hxx')
-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; }; |