Back to index

php5  5.3.10
mbfilter_tl_jisx0201_jisx0208.h
Go to the documentation of this file.
00001 /*
00002  * "streamable kanji code filter and converter"
00003  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
00004  *
00005  * LICENSE NOTICES
00006  *
00007  * This file is part of "streamable kanji code filter and converter",
00008  * which is distributed under the terms of GNU Lesser General Public 
00009  * License (version 2) as published by the Free Software Foundation.
00010  *
00011  * This software is 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 Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with "streamable kanji code filter and converter";
00018  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
00019  * Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  * The author of this file: Moriyoshi Koizumi <koizumi@gree.co.jp>
00022  *
00023  */
00024 
00025 #ifndef MBFILTER_TL_KANA_JISX0201_JISX0208_H
00026 #define MBFILTER_TL_KANA_JISX0201_JISX0208_H
00027 
00028 #include "mbfl_convert.h"
00029 
00030 #define MBFL_FILT_TL_HAN2ZEN_ALL       0x00000001
00031 #define MBFL_FILT_TL_HAN2ZEN_ALPHA     0x00000002
00032 #define MBFL_FILT_TL_HAN2ZEN_NUMERIC   0x00000004
00033 #define MBFL_FILT_TL_HAN2ZEN_SPACE     0x00000008
00034 #define MBFL_FILT_TL_ZEN2HAN_ALL       0x00000010
00035 #define MBFL_FILT_TL_ZEN2HAN_ALPHA     0x00000020
00036 #define MBFL_FILT_TL_ZEN2HAN_NUMERIC   0x00000040
00037 #define MBFL_FILT_TL_ZEN2HAN_SPACE     0x00000080
00038 #define MBFL_FILT_TL_HAN2ZEN_KATAKANA  0x00000100
00039 #define MBFL_FILT_TL_HAN2ZEN_HIRAGANA  0x00000200
00040 #define MBFL_FILT_TL_HAN2ZEN_GLUE      0x00000800
00041 #define MBFL_FILT_TL_ZEN2HAN_KATAKANA  0x00001000
00042 #define MBFL_FILT_TL_ZEN2HAN_HIRAGANA  0x00002000
00043 #define MBFL_FILT_TL_ZEN2HAN_HIRA2KANA 0x00010000
00044 #define MBFL_FILT_TL_ZEN2HAN_KANA2HIRA 0x00020000
00045 #define MBFL_FILT_TL_HAN2ZEN_COMPAT1   0x00100000
00046 #define MBFL_FILT_TL_ZEN2HAN_COMPAT1   0x00200000
00047 #define MBFL_FILT_TL_HAN2ZEN_COMPAT2   0x00400000
00048 #define MBFL_FILT_TL_ZEN2HAN_COMPAT2   0x00800000
00049 #define MBFL_FILT_TL_HAN2ZEN_MASK ( \
00050        MBFL_FILT_TL_HAN2ZEN_ALL |\
00051        MBFL_FILT_TL_HAN2ZEN_ALPHA |\
00052        MBFL_FILT_TL_HAN2ZEN_NUMERIC |\
00053        MBFL_FILT_TL_HAN2ZEN_SPACE |\
00054        MBFL_FILT_TL_HAN2ZEN_KATAKANA |\
00055        MBFL_FILT_TL_HAN2ZEN_HIRAGANA |\
00056        MBFL_FILT_TL_HAN2ZEN_GLUE |\
00057        MBFL_FILT_TL_HAN2ZEN_COMPAT1 |\
00058        MBFL_FILT_TL_HAN2ZEN_COMPAT2)
00059 #define MBFL_FILT_TL_ZEN2HAN_MASK ( \
00060        MBFL_FILT_TL_ZEN2HAN_ALL | \
00061        MBFL_FILT_TL_ZEN2HAN_ALPHA | \
00062        MBFL_FILT_TL_ZEN2HAN_NUMERIC | \
00063        MBFL_FILT_TL_ZEN2HAN_SPACE | \
00064        MBFL_FILT_TL_ZEN2HAN_KATAKANA | \
00065        MBFL_FILT_TL_ZEN2HAN_HIRAGANA | \
00066        MBFL_FILT_TL_ZEN2HAN_HIRA2KANA | \
00067        MBFL_FILT_TL_ZEN2HAN_KANA2HIRA | \
00068        MBFL_FILT_TL_ZEN2HAN_COMPAT1 | \
00069        MBFL_FILT_TL_ZEN2HAN_COMPAT2)
00070 
00071 
00072 typedef struct _mbfl_filt_tl_jisx0201_jisx0208_param {
00073        mbfl_convert_filter *next_filter;
00074        int mode;
00075 } mbfl_filt_tl_jisx0201_jisx0208_param;
00076 
00077 extern const struct mbfl_convert_vtbl vtbl_tl_jisx0201_jisx0208;
00078 
00079 #endif /* MBFILTER_TL_KANA_JISX0201_JISX0208_H */