From 2e4cb2b1fcfe9aa306c69a0ec1ed30136148e2b6 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 30 Aug 2011 12:58:15 +0800 Subject: move pinyin custom settings to pinyin_custom.h --- src/pinyin.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/pinyin.h') diff --git a/src/pinyin.h b/src/pinyin.h index 0d89a43..c4c121d 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -1,3 +1,28 @@ +/* + * libpinyin + * Library to deal with pinyin. + * + * Copyright (C) 2011 Peng Wu + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef PINYIN_H +#define PINYIN_H + #include #include "novel_types.h" #include "memory_chunk.h" @@ -61,3 +86,5 @@ bool pinyin_translate_token(pinyin_context_t * context, bool pinyin_train(pinyin_context_t * context); bool pinyin_save(pinyin_context_t * context); bool pinyin_reset(pinyin_context_t * context); + +#endif -- cgit