[dasher] CStylusFilter::KeyUp/Down were missing parameters, so were not actually



commit b5c921d17ad19f31766fe1a62eac87606ed424f2
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date:   Mon May 18 14:25:58 2009 +0100

    CStylusFilter::KeyUp/Down were missing parameters, so were not actually
    overriding corresponding methods in DefaultFilter.
---
 ChangeLog                       |    4 +++-
 Src/DasherCore/StylusFilter.cpp |    4 ++--
 Src/DasherCore/StylusFilter.h   |    4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 821bb24..872079c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* ClickFilter.cpp, DasherButtons.cpp, DasherModel.{h,cpp}:
 	Split UpdatePosition into NextScheduledStep and UpdatePosition, with
 	common code in UpdateBounds.
+	* StylusFilter.{h,cpp}: KeyUp/Down were missing parameters, so were
+	not actually overriding corresponding methods in DefaultFilter.
 
 2009-05-16  Patrick Welche  <prlw1 cam ac uk>
 
@@ -14,7 +16,7 @@
 	It seems that make distcheck requires an internet connection
 	as as gnome-doc-utils' xmllint hunts for scrollkeeper-omf.dtd
 	at scrollkeeper.sf.net. Remove unused {omf,xmldocs}.make
-	from Data/Help?Gnome.
+	from Data/Help/Gnome.
 
 2009-05-15  Alan Lawrence <acl33 inf phy cam ac uk>
 
diff --git a/Src/DasherCore/StylusFilter.cpp b/Src/DasherCore/StylusFilter.cpp
index e1d44c4..ba43e76 100644
--- a/Src/DasherCore/StylusFilter.cpp
+++ b/Src/DasherCore/StylusFilter.cpp
@@ -8,12 +8,12 @@ CStylusFilter::CStylusFilter(Dasher::CEventHandler *pEventHandler, CSettingsStor
 }
 
 
-void CStylusFilter::KeyDown(int iTime, int iId, CDasherModel *pModel) {
+void CStylusFilter::KeyDown(int iTime, int iId, CDasherView *pView, CDasherModel *pModel, CUserLogBase *pUserLog) {
   if(iId == 100)
     m_pInterface->Unpause(iTime);
 }
 
-void CStylusFilter::KeyUp(int iTime, int iId, CDasherModel *pModel) {
+void CStylusFilter::KeyUp(int iTime, int iId, CDasherView *pView, CDasherModel *pModel) {
   if(iId == 100)
     m_pInterface->PauseAt(0, 0);
 }
diff --git a/Src/DasherCore/StylusFilter.h b/Src/DasherCore/StylusFilter.h
index 6bdeffd..6c8ef07 100644
--- a/Src/DasherCore/StylusFilter.h
+++ b/Src/DasherCore/StylusFilter.h
@@ -9,8 +9,8 @@ class CStylusFilter : public CDefaultFilter {
  public:
   CStylusFilter(Dasher::CEventHandler * pEventHandler, CSettingsStore *pSettingsStore, CDasherInterfaceBase *pInterface, CDasherModel *pDasherModel, ModuleID_t iID, const char *szName);
 
-  virtual void KeyDown(int iTime, int iId, CDasherModel *pModel);
-  virtual void KeyUp(int iTime, int iId, CDasherModel *pModel);
+  virtual void KeyDown(int iTime, int iId, CDasherView *pView, CDasherModel *pModel, CUserLogBase *pUserLog);
+  virtual void KeyUp(int iTime, int iId, CDasherView *pView, CDasherModel *pModel);
 };
 /// @}
 



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