9 extern ConfigHolder configHolder
;
15 void setRootDir(const char *dir
);
17 const std::string
rootDir() const;
18 const std::string
tasksDir() const;
19 const std::string
mgrFile() const;
20 const std::string
dictFile() const;
21 const std::string
keyFile() const;
23 std::string rootDirectory
;
27 const std::string
ConfigHolder::rootDir() const {
32 const std::string
ConfigHolder::tasksDir() const {
33 return rootDirectory
+ "/tasks/";
37 const std::string
ConfigHolder::mgrFile() const {
38 return rootDirectory
+ "/freeRecite.mgr";
42 const std::string
ConfigHolder::dictFile() const {
43 return rootDirectory
+ "/freeRecite.dict";
47 const std::string
ConfigHolder::keyFile() const {
48 return rootDirectory
+ "keystone.txt";
51 }//End of namespace freeRecite.