[dasher] Apply Dasher namespace cleanup to PinYin.
- From: Patrick Welche <pwelche src gnome org>
- To: svn-commits-list gnome org
- Subject: [dasher] Apply Dasher namespace cleanup to PinYin.
- Date: Thu, 2 Jul 2009 16:01:15 +0000 (UTC)
commit abef8cf89bde1f51477be3a9e682c6e317f77739
Author: Patrick Welche <prlw1 cam ac uk>
Date: Thu Jul 2 17:01:05 2009 +0100
Apply Dasher namespace cleanup to PinYin.
.gitignore | 6 ++++++
ChangeLog | 1 +
Src/DasherCore/PinYinConversionHelper.h | 6 +++++-
3 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7f3a8e6..800dac6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,10 @@
+*.a
*.make
*.m4
+*.gmo
+*.mo
+*.o
+*.omf
Makefile
Makefile.in
+dasher.xml
diff --git a/ChangeLog b/ChangeLog
index afef96b..f60f3c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* White space to keep gcc happy, and typos.
* OneStepTowards now returns true.
* Replace HAVE_CONFIG_H removed by Chinese dasher.
+ * Apply Dasher namespace cleanup to PinYin.
2009-07-02 Alan Lawrence <acl33 inf phy cam ac uk>
diff --git a/Src/DasherCore/PinYinConversionHelper.h b/Src/DasherCore/PinYinConversionHelper.h
index 9e6f86c..196816d 100644
--- a/Src/DasherCore/PinYinConversionHelper.h
+++ b/Src/DasherCore/PinYinConversionHelper.h
@@ -13,10 +13,12 @@
//both of these start from 0
+namespace Dasher {
+
class CPinYinConversionHelper : public CConversionHelper {
public:
- CPinYinConversionHelper(Dasher::CEventHandler *pEventHandler, CSettingsStore *pSettingsStore, Dasher::CAlphIO *pAlphIO, const std::string strCHAlphabetPath, CAlphabet * pAlphabet, CLanguageModel * pLanguageModel);
+ CPinYinConversionHelper(Dasher::CEventHandler *pEventHandler, CSettingsStore *pSettingsStore, Dasher::CAlphIO *pAlphIO, const std::string strCHAlphabetPath, Dasher::CAlphabet * pAlphabet, Dasher::CLanguageModel * pLanguageModel);
virtual bool Convert(const std::string &strSource, SCENode ** pRoot);
@@ -44,4 +46,6 @@ class CPinYinConversionHelper : public CConversionHelper {
};
+}
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]