00001 00002 /* Copyright 2009 Diego Barrios Romero 00003 * 00004 * This file is part of DSMemorizer. 00005 * 00006 * DSMemorizer is free software: you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation, either version 3 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * DSMemorizer distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with DSMemorizer. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #ifndef DSMEMORIZER_H_ 00021 #define DSMEMORIZER_H_ 00022 00023 class SoundHandler; 00024 class XMLParser; 00025 class ScreensHandler; 00026 class MainScreenHandler; 00027 class SubScreenHandler; 00028 00030 class DSMemorizer 00031 { 00032 public: 00034 DSMemorizer() {}; 00036 void Init(); 00037 00038 private: 00041 void KanjiMode (); 00042 00047 void KanjiQuizMode (); 00048 00051 void VocabularyMode (); 00052 00055 void VocabularyQuizMode (); 00056 00058 void SetOptions(unsigned& grade_min, unsigned& grade_max, 00059 unsigned& strokes_min, unsigned& strokes_max); 00061 void SetOptions (); 00063 bool romaji_conversion; 00064 00066 SoundHandler sound_handler_; 00068 XMLParser xmlparser_; 00070 ScreensHandler screens_handler_; 00072 MainScreenHandler main_screen_handler_; 00074 SubScreenHandler sub_screen_handler_; 00075 }; 00076 00077 #endif // DSMEMORIZER_H_ 00078
1.5.8