Wnnプラグインのデストラクタに接続断と辞書セーブを追加。
1 parent 243f28d commit 8ee7520554610c5aedee9fff936f494473c6684e
@tamra tamra authored on 7 Mar 2006
Showing 2 changed files
View
2
■■■
honoka/plugins/wnnconversion.cpp
 
 
WnnConversion::~WnnConversion()
{
wnnDisconnect();
}
 
 
/* w_charからEUCに変換するアレ */
#endif
jl_close(wnn);
wnn = NULL;
}
jl_dic_save_all();
}
 
 
 
View
1
■■■■
honoka/plugins/wnnproto.h
extern int jl_yosoku_ikkatsu_toroku(struct wnn_buf *,char *,int);
extern int jl_yosoku_ikkatsu_toroku_init(struct wnn_buf *);
extern int jl_yosoku_ikkatsu_toroku_end(struct wnn_buf *);
extern int jl_yosoku_toroku(struct wnn_buf *,w_char *,short);
extern int jl_dic_save_all();
 
#else
int wnn_get_area(struct wnn_buf*,int,int,w_char*,int);
void jl_get_zenkouho_kanji(struct wnn_buf*,int ,w_char *);