[dasher: 116/217] win32 clang warnings fix
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher: 116/217] win32 clang warnings fix
- Date: Sat, 27 Feb 2016 12:10:04 +0000 (UTC)
commit 697b8e49cf049dc3a936fedbe071c75f7896db5e
Author: ipomoena <amajorek google com>
Date: Mon Nov 9 12:08:18 2015 -0800
win32 clang warnings fix
Src/Win32/Dasher.h | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/Src/Win32/Dasher.h b/Src/Win32/Dasher.h
index 3ae5de9..01a9146 100644
--- a/Src/Win32/Dasher.h
+++ b/Src/Win32/Dasher.h
@@ -41,32 +41,32 @@ public:
void Move(int iX, int iY, int iWidth, int iHeight);
void TakeFocus();
- void HandleEvent(int iParameter);
- void editOutput(const std::string &strText, CDasherNode *pSource);
- void editDelete(const std::string &strText, CDasherNode *pSource);
- unsigned int ctrlMove(bool bForwards, CControlManager::EditDistance iDist);
- unsigned int ctrlDelete(bool bForwards, CControlManager::EditDistance iDist);
+ void HandleEvent(int iParameter) override;
+ void editOutput(const std::string &strText, CDasherNode *pSource) override;
+ void editDelete(const std::string &strText, CDasherNode *pSource) override;
+ unsigned int ctrlMove(bool bForwards, CControlManager::EditDistance iDist) override;
+ unsigned int ctrlDelete(bool bForwards, CControlManager::EditDistance iDist) override;
- virtual void WriteTrainFile(const std::string &filename, const std::string &strNewText);
+ virtual void WriteTrainFile(const std::string &filename, const std::string &strNewText) override;
void Main();
- virtual std::string GetAllContext();
- std::string GetContext(unsigned int iStart, unsigned int iLength);
- int GetAllContextLenght();
- std::string GetTextAroundCursor(CControlManager::EditDistance iDist);
+ virtual std::string GetAllContext() override;
+ std::string GetContext(unsigned int iStart, unsigned int iLength) override;
+ int GetAllContextLenght() override;
+ std::string GetTextAroundCursor(CControlManager::EditDistance iDist) override;
#ifdef WIN32_SPEECH
- bool SupportsSpeech();
- void Speak(const std::string &text, bool bInterrupt);
+ bool SupportsSpeech() override;
+ void Speak(const std::string &text, bool bInterrupt) override;
#endif
- bool SupportsClipboard() {return true;};
- void CopyToClipboard(const std::string &text);
+ bool SupportsClipboard() override { return true; };
+ void CopyToClipboard(const std::string &text) override;
- virtual int GetFileSize(const std::string &strFileName);
+ virtual int GetFileSize(const std::string &strFileName) override;
private:
- virtual void ScanFiles(AbstractParser *parser, const std::string &strPattern);
- virtual void CreateModules();
+ virtual void ScanFiles(AbstractParser *parser, const std::string &strPattern) override;
+ virtual void CreateModules() override;
void ScanDirectory(const Tstring &strMask, std::vector<std::string> &vFileList);
bool GetWindowSize(int* pTop, int* pLeft, int* pBottom, int* pRight);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]