make InitDictionary() an abstract method, at Uli's suggestion. Make sure people implements it

This commit is contained in:
Hieu Hoang 2013-05-20 17:01:19 +01:00
parent a635518346
commit 3e7f412ae9

View File

@ -82,8 +82,7 @@ public:
const ChartCellCollectionBase &) = 0;
//Initialises the dictionary (may involve loading from file)
virtual bool InitDictionary()
{ return true; }
virtual bool InitDictionary() = 0;
//Get the dictionary. Be sure to initialise it first.
const PhraseDictionary* GetDictionary() const;