[dasher] This is what commit



commit a9d4ab523108fb191cf2bdb61e31edd70d219660
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date:   Fri Nov 13 19:59:59 2009 +0000

    This is what commit
            05c615e8e6eb19c2bf189b44e3688afef5dc3926 Fixup Chinese BuildTree
    should have done - which itself was what the earlier
            bf7715060ab5a60945caa37bcb4698d249e4251c Restore
            CConversionHelper::BuildTree, and move Chinese version to
            CPinYinConversionHelper
    should have been!

 ChangeLog                         |   10 ++++++++++
 Src/DasherCore/ConversionHelper.h |    6 ++----
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dca599c..32edfa5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-08-22  Alan Lawrence <acl33 inf phy cam ac uk>
+
+	This is what commit
+		05c615e8e6eb19c2bf189b44e3688afef5dc3926 Fixup Chinese BuildTree
+	should have done - which itself was what the earlier
+		bf7715060ab5a60945caa37bcb4698d249e4251c Restore
+		CConversionHelper::BuildTree, and move Chinese version
+		to CPinYinConversionHelper
+	should have been!
+
 2009-08-24  Patrick Welche <prlw1 cam ac uk>
 
 	* Fixup Chinese BuildTree.
diff --git a/Src/DasherCore/ConversionHelper.h b/Src/DasherCore/ConversionHelper.h
index a88044b..d3cb82b 100644
--- a/Src/DasherCore/ConversionHelper.h
+++ b/Src/DasherCore/ConversionHelper.h
@@ -122,7 +122,7 @@ namespace Dasher{
     	
     virtual void SetFlag(CDasherNode *pNode, int iFlag, bool bValue);
 
-protected:
+private:
 	
     /// 
     /// Build the conversion tree (lattice) for the given string -
@@ -130,10 +130,8 @@ protected:
     /// children of the root node are never instantiated
     ///
     
-    void BuildTree(CDasherNode *pRoot);
+    virtual void BuildTree(CDasherNode *pRoot);
 	
-private:
-
     ///
     /// Language model (TODO: We don't need to know about this, surely)
     ///



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