summaryrefslogtreecommitdiff
path: root/svx/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-07 21:14:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-08 09:30:28 +0200
commit46449722030066473fef54b9766a3bafccef4e25 (patch)
tree14bacfaa9406ffec465d1bb42c9aaff1175dc5cd /svx/source/inc
parentc83a8071666af2f8e96a4b1808d7650ba112f931 (diff)
the TimeEventHandler stuff is dead
ever since commit c760d61bad637bf178566884039dd07d81ab17ed Date: Fri Jul 27 15:28:44 2018 +0200 remove SdrGrafObj::IsSwappedOut Change-Id: I68c98449b98a3ac5da3bf26917ad2a76226f470c Reviewed-on: https://gerrit.libreoffice.org/58707 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/eventhandler.hxx62
1 files changed, 0 insertions, 62 deletions
diff --git a/svx/source/inc/eventhandler.hxx b/svx/source/inc/eventhandler.hxx
index c8a5da50a2f2..83736c543d39 100644
--- a/svx/source/inc/eventhandler.hxx
+++ b/svx/source/inc/eventhandler.hxx
@@ -26,68 +26,6 @@
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
-namespace sdr
-{
- namespace event
- {
- class BaseEvent;
- class TimerEventHandler;
- } // end of namespace event
-} // end of namespace sdr
-
-namespace sdr
-{
- namespace event
- {
- class BaseEvent
- {
- // the EventHandler this event is registered at
- TimerEventHandler& mrEventHandler;
-
- public:
- BaseEvent(TimerEventHandler& rEventHandler);
-
- virtual ~BaseEvent();
-
- // the called method if the event is triggered
- virtual void ExecuteEvent() = 0;
- };
- } // end of namespace event
-} // end of namespace sdr
-
-namespace sdr
-{
- namespace event
- {
- class TimerEventHandler : public Idle
- {
- ::std::vector< BaseEvent* > maVector;
-
- // to allow BaseEvents to use the add/remove functionality
- friend class BaseEvent;
-
- // methods to add/remove events. These are private since
- // they are used from BaseEvent only.
- void AddEvent(BaseEvent& rBaseEvent);
- void RemoveEvent(BaseEvent& rBaseEvent);
-
- // access to a event, 0L when no more events
- BaseEvent* GetEvent();
-
- public:
- TimerEventHandler();
- ~TimerEventHandler() override;
-
- bool IsEmpty() const;
-
- // The timer when it is triggered; from class Timer
- virtual void Invoke() override;
-
- // reset the timer
- void Restart();
- };
- } // end of namespace event
-} // end of namespace sdr
#endif // INCLUDED_SVX_SOURCE_INC_EVENTHANDLER_HXX