[dasher] Remove empty CDasherView::HandleEvent method.



commit 917233bb71ad1483e9158171fd2ee9fdaf9ec12f
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date:   Mon May 18 14:30:53 2009 +0100

    Remove empty CDasherView::HandleEvent method.
---
 ChangeLog                     |    1 +
 Src/DasherCore/DasherView.cpp |   14 --------------
 Src/DasherCore/DasherView.h   |    5 -----
 3 files changed, 1 insertions(+), 19 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 872079c..f279765 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
 	common code in UpdateBounds.
 	* StylusFilter.{h,cpp}: KeyUp/Down were missing parameters, so were
 	not actually overriding corresponding methods in DefaultFilter.
+	* DasherView.{h,cpp}: Remove empty CDasherView::HandleEvent method.
 
 2009-05-16  Patrick Welche  <prlw1 cam ac uk>
 
diff --git a/Src/DasherCore/DasherView.cpp b/Src/DasherCore/DasherView.cpp
index 7583edc..d111c9f 100644
--- a/Src/DasherCore/DasherView.cpp
+++ b/Src/DasherCore/DasherView.cpp
@@ -46,20 +46,6 @@ CDasherView::CDasherView(CEventHandler *pEventHandler, CSettingsStore *pSettings
    m_bDemoMode(false), m_bGameMode(false) {
 }
 
-void CDasherView::HandleEvent(Dasher::CEvent *pEvent) {
-  if(pEvent->m_iEventType == 1) {
-    Dasher::CParameterNotificationEvent * pEvt(static_cast < Dasher::CParameterNotificationEvent * >(pEvent));
-    
-    switch (pEvt->m_iParameter) {
-        case BP_DASHER_PAUSED:  
-	
-                  break;    
-	default:
-      break;
-    }
-  }
-};
-
 /////////////////////////////////////////////////////////////////////////////
 
 void CDasherView::ChangeScreen(CDasherScreen *NewScreen) {
diff --git a/Src/DasherCore/DasherView.h b/Src/DasherCore/DasherView.h
index 041666d..e2f3a36 100644
--- a/Src/DasherCore/DasherView.h
+++ b/Src/DasherCore/DasherView.h
@@ -61,11 +61,6 @@ public:
 
   virtual ~CDasherView() {
   }
-  ///
-  /// Event handler
-  /// \param pEvent Pointer to incoming event
-  virtual void HandleEvent(Dasher::CEvent * pEvent);
-
 
   /// @name Pointing device mappings 
   /// @{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]