* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef BOPOMOFO_H_
-#define BOPOMOFO_H_
+#ifndef __PY_BOPOMOFO_H_
+#define __PY_BOPOMOFO_H_
#define MAX_BOPOMOFO_LEN (4)
#define BOPOMOFO_TONE_5 (41)
const static wchar_t bopomofo_char[] = {
- L'\0',L'ㄅ',L'ㄆ',L'ㄇ',L'ㄈ',L'ㄉ',L'ㄊ',L'ㄋ',L'ㄌ',L'ㄍ',L'ㄎ',
- L'ㄏ',L'ㄐ',L'ㄑ',L'ㄒ',L'ㄓ',L'ㄔ',L'ㄕ',L'ㄖ',L'ㄗ',L'ㄘ',L'ㄙ',
+ L'\0', L'ㄅ', L'ㄆ', L'ㄇ', L'ㄈ', L'ㄉ', L'ㄊ', L'ㄋ', L'ㄌ', L'ㄍ', L'ㄎ',
+ L'ㄏ', L'ㄐ', L'ㄑ', L'ㄒ', L'ㄓ', L'ㄔ', L'ㄕ', L'ㄖ', L'ㄗ', L'ㄘ', L'ㄙ',
- L'ㄧ',L'ㄨ',L'ㄩ',L'ㄚ',L'ㄛ',L'ㄜ',L'ㄝ',L'ㄞ',L'ㄟ',L'ㄠ',L'ㄡ',
- L'ㄢ',L'ㄣ',L'ㄤ',L'ㄥ',L'ㄦ',
+ L'ㄧ', L'ㄨ', L'ㄩ', L'ㄚ', L'ㄛ', L'ㄜ', L'ㄝ', L'ㄞ', L'ㄟ', L'ㄠ', L'ㄡ',
+ L'ㄢ', L'ㄣ', L'ㄤ', L'ㄥ', L'ㄦ',
- L'ˊ',L'ˇ',L'ˋ',L'˙',
+ L'ˊ', L'ˇ', L'ˋ', L'˙',
};
-#endif /* BOPOMOFO_H_ */
+#endif /* __PY_BOPOMOFO_H_ */
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_BOPOMOFO_ENGINE_H__
-#define __PY_BOPOMOFO_ENGINE_H__
+#ifndef __PY_BOPOMOFO_ENGINE_H_
+#define __PY_BOPOMOFO_ENGINE_H_
#include "Engine.h"
#include "PinyinProperties.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_DATABASE_H__
-#define __PY_DATABASE_H__
+#ifndef __PY_DATABASE_H_
+#define __PY_DATABASE_H_
#include <sqlite3.h>
#include <boost/shared_ptr.hpp>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_ENGINE_H__
-#define __PY_ENGINE_H__
+#ifndef __PY_ENGINE_H_
+#define __PY_ENGINE_H_
#include <ibus.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_EXT_EDITOR__
-#define __PY_EXT_EDITOR__
+#ifndef __PY_EXT_EDITOR_
+#define __PY_EXT_EDITOR_
#include <glib.h>
#include "Editor.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_FALLBACK_EDITOR__
-#define __PY_FALLBACK_EDITOR__
+#ifndef __PY_FALLBACK_EDITOR_
+#define __PY_FALLBACK_EDITOR_
#include <glib.h>
#include "Editor.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_PINYIN_ENGINE_H__
-#define __PY_PINYIN_ENGINE_H__
+#ifndef __PY_PINYIN_ENGINE_H_
+#define __PY_PINYIN_ENGINE_H_
#include "Engine.h"
#include "PinyinProperties.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_PARSER_H__
-#define __PY_PARSER_H__
+#ifndef __PY_PARSER_H_
+#define __PY_PARSER_H_
#include <glib.h>
#include "String.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_PUNCT_EDITOR__
-#define __PY_PUNCT_EDITOR__
+#ifndef __PY_PUNCT_EDITOR_
+#define __PY_PUNCT_EDITOR_
#include <glib.h>
#include "Editor.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_RAW_EDITOR__
-#define __PY_RAW_EDITOR__
+#ifndef __PY_RAW_EDITOR_
+#define __PY_RAW_EDITOR_
#include <glib.h>
#include "Editor.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifndef __PY_TYPE_H_
-#define __PY_TYPE_H_
+#ifndef __PY_TYPES_H_
+#define __PY_TYPES_H_
#include <glib.h>