system than is case insensitive.
SimpTradConverterTable.h \
$(NULL)
ibus_engine_pinyin_c_sources = \
- BopomofoEditor.cc \
- BopomofoEngine.cc \
- Config.cc \
- Database.cc \
- DoublePinyinEditor.cc \
- Editor.cc \
- Engine.cc \
- FallbackEditor.cc \
- FullPinyinEditor.cc \
- HalfFullConverter.cc \
- Main.cc \
- PhoneticEditor.cc \
- PhraseEditor.cc \
- PinyinEditor.cc \
- PinyinEngine.cc \
- PinyinParser.cc \
- PinyinProperties.cc \
- PunctEditor.cc \
- SimpTradConverter.cc \
- DynamicSpecialPhrase.cc \
- SpecialPhrase.cc \
- SpecialPhraseTable.cc \
+ PYBopomofoEditor.cc \
+ PYBopomofoEngine.cc \
+ PYConfig.cc \
+ PYDatabase.cc \
+ PYDoublePinyinEditor.cc \
+ PYEditor.cc \
+ PYEngine.cc \
+ PYFallbackEditor.cc \
+ PYFullPinyinEditor.cc \
+ PYHalfFullConverter.cc \
+ PYMain.cc \
+ PYPhoneticEditor.cc \
+ PYPhraseEditor.cc \
+ PYPinyinEditor.cc \
+ PYPinyinEngine.cc \
+ PYPinyinParser.cc \
+ PYPinyinProperties.cc \
+ PYPunctEditor.cc \
+ PYSimpTradConverter.cc \
+ PYDynamicSpecialPhrase.cc \
+ PYSpecialPhrase.cc \
+ PYSpecialPhraseTable.cc \
$(NULL)
ibus_engine_pinyin_h_sources = \
- Bopomofo.h \
- BopomofoEditor.h \
- BopomofoEngine.h \
- Bus.h \
- Config.h \
- Database.h \
- DoublePinyinEditor.h \
- DoublePinyinTable.h \
- Editor.h \
- Engine.h \
- ExtEditor.h \
- FallbackEditor.h \
- FullPinyinEditor.h \
- HalfFullConverter.h \
- LookupTable.h \
- Object.h \
- PhoneticEditor.h \
- Phrase.h \
- PhraseArray.h \
- PhraseEditor.h \
- PinyinArray.h \
- PinyinEditor.h \
- PinyinEngine.h \
- PinyinParser.h \
- PinyinProperties.h \
- Pointer.h \
- Property.h \
- PunctEditor.h \
- RawEditor.h \
- Regex.h \
- Signal.h \
- SimpTradConverter.h \
- SpecialPhrase.h \
- DynamicSpecialPhrase.h \
- SpecialPhraseTable.h \
- String.h \
- Text.h \
- Types.h \
- Util.h \
+ PYBopomofo.h \
+ PYBopomofoEditor.h \
+ PYBopomofoEngine.h \
+ PYBus.h \
+ PYConfig.h \
+ PYDatabase.h \
+ PYDoublePinyinEditor.h \
+ PYDoublePinyinTable.h \
+ PYEditor.h \
+ PYEngine.h \
+ PYExtEditor.h \
+ PYFallbackEditor.h \
+ PYFullPinyinEditor.h \
+ PYHalfFullConverter.h \
+ PYLookupTable.h \
+ PYObject.h \
+ PYPhoneticEditor.h \
+ PYPhrase.h \
+ PYPhraseArray.h \
+ PYPhraseEditor.h \
+ PYPinyinArray.h \
+ PYPinyinEditor.h \
+ PYPinyinEngine.h \
+ PYPinyinParser.h \
+ PYPinyinProperties.h \
+ PYPointer.h \
+ PYProperty.h \
+ PYPunctEditor.h \
+ PYRawEditor.h \
+ PYRegex.h \
+ PYSignal.h \
+ PYSimpTradConverter.h \
+ PYSpecialPhrase.h \
+ PYDynamicSpecialPhrase.h \
+ PYSpecialPhraseTable.h \
+ PYString.h \
+ PYText.h \
+ PYTypes.h \
+ PYUtil.h \
$(NULL)
if IBUS_BUILD_LUA_EXTENSION
-ibus_engine_pinyin_c_sources += ExtEditor.cc
+ibus_engine_pinyin_c_sources += PYExtEditor.cc
endif
ibus_engine_pinyin_SOURCES = \
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "BopomofoEditor.h"
-#include "Config.h"
-#include "PinyinProperties.h"
-#include "SimpTradConverter.h"
+#include "PYBopomofoEditor.h"
+#include "PYConfig.h"
+#include "PYPinyinProperties.h"
+#include "PYSimpTradConverter.h"
namespace PY {
-#include "BopomofoKeyboard.h"
+#include "PYBopomofoKeyboard.h"
const static gchar * bopomofo_select_keys[] = {
"1234567890",
#ifndef __PY_BOPOMOFO_EDITOR_H_
#define __PY_BOPOMOFO_EDITOR_H_
-#include "PhoneticEditor.h"
+#include "PYPhoneticEditor.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "BopomofoEngine.h"
+#include "PYBopomofoEngine.h"
#include <string>
-#include "RawEditor.h"
-#include "PunctEditor.h"
+#include "PYRawEditor.h"
+#include "PYPunctEditor.h"
#ifdef IBUS_BUILD_LUA_EXTENSION
-#include "ExtEditor.h"
+#include "PYExtEditor.h"
#endif
-#include "BopomofoEditor.h"
-#include "FallbackEditor.h"
-#include "Config.h"
+#include "PYBopomofoEditor.h"
+#include "PYFallbackEditor.h"
+#include "PYConfig.h"
namespace PY {
#ifndef __PY_BOPOMOFO_ENGINE_H_
#define __PY_BOPOMOFO_ENGINE_H_
-#include "Engine.h"
-#include "PinyinProperties.h"
+#include "PYEngine.h"
+#include "PYPinyinProperties.h"
namespace PY {
#ifndef __PY_BOPOMOFO_KEYBOARD_H_
#define __PY_BOPOMOFO_KEYBOARD_H_
-#include "Bopomofo.h"
+#include "PYBopomofo.h"
static const guint8
bopomofo_keyboard[][41][2] = {
#define __PY_BUS_H_
#include <ibus.h>
-#include "Object.h"
+#include "PYObject.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "Config.h"
+#include "PYConfig.h"
-#include "Types.h"
-#include "Bus.h"
-#include "DoublePinyinTable.h"
+#include "PYTypes.h"
+#include "PYBus.h"
+#include "PYDoublePinyinTable.h"
namespace PY {
#include <string>
#include <boost/scoped_ptr.hpp>
#include <ibus.h>
-#include "Object.h"
+#include "PYObject.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "Database.h"
+#include "PYDatabase.h"
#include <sqlite3.h>
-#include "Util.h"
-#include "PinyinArray.h"
+#include "PYUtil.h"
+#include "PYPinyinArray.h"
namespace PY {
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
-#include "String.h"
-#include "Types.h"
-#include "PhraseArray.h"
+#include "PYString.h"
+#include "PYTypes.h"
+#include "PYPhraseArray.h"
typedef struct sqlite3 sqlite3;
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "DoublePinyinEditor.h"
-#include "Config.h"
+#include "PYDoublePinyinEditor.h"
+#include "PYConfig.h"
namespace PY {
#define DEFINE_DOUBLE_PINYIN_TABLES
-#include "DoublePinyinTable.h"
+#include "PYDoublePinyinTable.h"
/*
* c in 'a' ... 'z' => id = c - 'a'
#ifndef __PY_DOUBLE_PINYIN_EDITOR_H_
#define __PY_DOUBLE_PINYIN_EDITOR_H_
-#include "PinyinEditor.h"
+#include "PYPinyinEditor.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "DynamicSpecialPhrase.h"
+#include "PYDynamicSpecialPhrase.h"
namespace PY {
#include <ctime>
#include <string>
#include <glib.h>
-#include "SpecialPhrase.h"
+#include "PYSpecialPhrase.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "Text.h"
-#include "Editor.h"
+#include "PYText.h"
+#include "PYEditor.h"
namespace PY {
#include <glib.h>
#include <boost/shared_ptr.hpp>
-#include "Signal.h"
-#include "String.h"
-#include "Util.h"
+#include "PYSignal.h"
+#include "PYString.h"
+#include "PYUtil.h"
namespace PY {
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "Engine.h"
-#include "PinyinEngine.h"
-#include "BopomofoEngine.h"
+#include "PYEngine.h"
+#include "PYPinyinEngine.h"
+#include "PYBopomofoEngine.h"
namespace PY {
/* code of engine class of GObject */
#include <ibus.h>
-#include "Pointer.h"
-#include "LookupTable.h"
-#include "Property.h"
-#include "Editor.h"
+#include "PYPointer.h"
+#include "PYLookupTable.h"
+#include "PYProperty.h"
+#include "PYEditor.h"
namespace PY {
#include "lua-plugin.h"
}
-#include "Config.h"
-#include "Pointer.h"
-#include "LookupTable.h"
+#include "PYConfig.h"
+#include "PYPointer.h"
+#include "PYLookupTable.h"
-#include "DynamicSpecialPhrase.h"
+#include "PYDynamicSpecialPhrase.h"
-#include "Editor.h"
-#include "ExtEditor.h"
+#include "PYEditor.h"
+#include "PYExtEditor.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "FallbackEditor.h"
-#include "HalfFullConverter.h"
-#include "PinyinProperties.h"
+#include "PYFallbackEditor.h"
+#include "PYHalfFullConverter.h"
+#include "PYPinyinProperties.h"
namespace PY {
#ifndef __PY_FALLBACK_EDITOR_
#define __PY_FALLBACK_EDITOR_
-#include "Text.h"
-#include "Editor.h"
+#include "PYText.h"
+#include "PYEditor.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "FullPinyinEditor.h"
-#include "Config.h"
+#include "PYFullPinyinEditor.h"
+#include "PYConfig.h"
namespace PY {
#ifndef __PY_FULL_PINYIN_EDITOR_H_
#define __PY_FULL_PINYIN_EDITOR_H_
-#include "PinyinEditor.h"
+#include "PYPinyinEditor.h"
namespace PY {
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "HalfFullConverter.h"
+#include "PYHalfFullConverter.h"
namespace PY {
#define __PY_LOOKUP_TABLE_H_
#include <ibus.h>
-#include "Object.h"
-#include "Text.h"
+#include "PYObject.h"
+#include "PYText.h"
namespace PY {
#include <ibus.h>
#include <stdlib.h>
#include <locale.h>
-#include "Engine.h"
-#include "Pointer.h"
-#include "Bus.h"
-#include "Config.h"
-#include "Database.h"
+#include "PYEngine.h"
+#include "PYPointer.h"
+#include "PYBus.h"
+#include "PYConfig.h"
+#include "PYDatabase.h"
using namespace PY;
#define __PY_OBJECT_H_
#include <glib-object.h>
-#include "Pointer.h"
+#include "PYPointer.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "PhoneticEditor.h"
-#include "Config.h"
-#include "PinyinProperties.h"
-#include "SimpTradConverter.h"
+#include "PYPhoneticEditor.h"
+#include "PYConfig.h"
+#include "PYPinyinProperties.h"
+#include "PYSimpTradConverter.h"
namespace PY {
#ifndef __PY_PHONETIC_EDITOR_H_
#define __PY_PHONETIC_EDITOR_H_
-#include "LookupTable.h"
-#include "Editor.h"
-#include "PinyinParser.h"
-#include "PhraseEditor.h"
-#include "SpecialPhraseTable.h"
+#include "PYLookupTable.h"
+#include "PYEditor.h"
+#include "PYPinyinParser.h"
+#include "PYPhraseEditor.h"
+#include "PYSpecialPhraseTable.h"
namespace PY {
#define __PY_PHRASE_H_
#include <cstring>
-#include "Types.h"
+#include "PYTypes.h"
namespace PY {
#define __PY_PHRASE_ARRAY_H_
#include <vector>
-#include "Phrase.h"
+#include "PYPhrase.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "PhraseEditor.h"
-#include "Config.h"
-#include "Database.h"
-#include "PinyinProperties.h"
-#include "SimpTradConverter.h"
+#include "PYPhraseEditor.h"
+#include "PYConfig.h"
+#include "PYDatabase.h"
+#include "PYPinyinProperties.h"
+#include "PYSimpTradConverter.h"
namespace PY {
#define __PY_PHRASE_EDITOR_H_
#include <boost/shared_ptr.hpp>
-#include "String.h"
-#include "PhraseArray.h"
-#include "PinyinArray.h"
+#include "PYString.h"
+#include "PYPhraseArray.h"
+#include "PYPinyinArray.h"
#define FILL_GRAN (12)
#define __PY_PINYIN_ARRAY_H_
#include <vector>
-#include "Types.h"
+#include "PYTypes.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "PinyinEditor.h"
-#include "Config.h"
-#include "PinyinProperties.h"
-#include "SimpTradConverter.h"
-#include "HalfFullConverter.h"
+#include "PYPinyinEditor.h"
+#include "PYConfig.h"
+#include "PYPinyinProperties.h"
+#include "PYSimpTradConverter.h"
+#include "PYHalfFullConverter.h"
namespace PY {
#ifndef __PY_PINYIN_EDITOR_H_
#define __PY_PINYIN_EDITOR_H_
-#include "PhoneticEditor.h"
+#include "PYPhoneticEditor.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "PinyinEngine.h"
+#include "PYPinyinEngine.h"
#include <string>
-#include "Config.h"
-#include "PunctEditor.h"
-#include "RawEditor.h"
+#include "PYConfig.h"
+#include "PYPunctEditor.h"
+#include "PYRawEditor.h"
#ifdef IBUS_BUILD_LUA_EXTENSION
-#include "ExtEditor.h"
+#include "PYExtEditor.h"
#endif
-#include "FullPinyinEditor.h"
-#include "DoublePinyinEditor.h"
-#include "FallbackEditor.h"
+#include "PYFullPinyinEditor.h"
+#include "PYDoublePinyinEditor.h"
+#include "PYFallbackEditor.h"
namespace PY {
#ifndef __PY_PINYIN_ENGINE_H_
#define __PY_PINYIN_ENGINE_H_
-#include "Engine.h"
-#include "PinyinProperties.h"
+#include "PYEngine.h"
+#include "PYPinyinProperties.h"
namespace PY {
#include <cstring>
#include <cstdlib>
-#include "PinyinParser.h"
+#include "PYPinyinParser.h"
namespace PY {
-#include "Bopomofo.h"
-#include "PinyinParserTable.h"
+#include "PYBopomofo.h"
+#include "PYPinyinParserTable.h"
static gboolean
check_flags (const Pinyin *pinyin, guint option)
#define __PY_PARSER_H_
#include <glib.h>
-#include "String.h"
-#include "PinyinArray.h"
+#include "PYString.h"
+#include "PYPinyinArray.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "PinyinProperties.h"
+#include "PYPinyinProperties.h"
#include <libintl.h>
-#include "Text.h"
-#include "Config.h"
+#include "PYText.h"
+#include "PYConfig.h"
namespace PY {
#ifndef __PY_PINYIN_PROPERTIES_H_
#define __PY_PINYIN_PROPERTIES_H_
-#include "Signal.h"
-#include "Property.h"
+#include "PYSignal.h"
+#include "PYProperty.h"
namespace PY {
#define __PY_PROPERTY_H_
#include <ibus.h>
-#include "Object.h"
-#include "Text.h"
+#include "PYObject.h"
+#include "PYText.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "Config.h"
-#include "PunctEditor.h"
+#include "PYConfig.h"
+#include "PYPunctEditor.h"
namespace PY {
-#include "PunctTable.h"
+#include "PYPunctTable.h"
PunctEditor::PunctEditor (PinyinProperties & props, Config & config)
: Editor (props, config),
#ifndef __PY_PUNCT_EDITOR_
#define __PY_PUNCT_EDITOR_
-#include "LookupTable.h"
-#include "Editor.h"
+#include "PYLookupTable.h"
+#include "PYEditor.h"
namespace PY {
#ifndef __PY_RAW_EDITOR_
#define __PY_RAW_EDITOR_
-#include "Editor.h"
+#include "PYEditor.h"
namespace PY {
#ifndef __PY_SIGNAL_H_
#define __PY_SIGNAL_H_
+
#ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
#endif
#ifdef HAVE_BOOST_SIGNALS2_HPP
# include "config.h"
#endif
-#include "SimpTradConverter.h"
+#include "PYSimpTradConverter.h"
#ifdef HAVE_OPENCC
# include <opencc.h>
# include <cstdlib>
#endif
-#include "Types.h"
-#include "String.h"
+#include "PYTypes.h"
+#include "PYString.h"
namespace PY {
return _xcmp (pp[0], pp[1], s2[0]);
}
-#include "SimpTradConverterTable.h"
+#include "PYSimpTradConverterTable.h"
void
SimpTradConverter::simpToTrad (const gchar *in, String &out)
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "SpecialPhrase.h"
+#include "PYSpecialPhrase.h"
namespace PY {
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "SpecialPhraseTable.h"
+#include "PYSpecialPhraseTable.h"
#include <fstream>
-#include "DynamicSpecialPhrase.h"
-#include "SpecialPhrase.h"
+#include "PYDynamicSpecialPhrase.h"
+#include "PYSpecialPhrase.h"
namespace PY {
#include <string>
#include <ibus.h>
-#include "Object.h"
+#include "PYObject.h"
namespace PY {
#define __PY_UTIL_H_
#ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
#endif
#if defined(HAVE_UUID_CREATE)