diff options
Diffstat (limited to 'src/plugins/aspell/weechat-aspell.h')
-rw-r--r-- | src/plugins/aspell/weechat-aspell.h | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/src/plugins/aspell/weechat-aspell.h b/src/plugins/aspell/weechat-aspell.h index b5ad26564..e50983fb7 100644 --- a/src/plugins/aspell/weechat-aspell.h +++ b/src/plugins/aspell/weechat-aspell.h @@ -1,17 +1,42 @@ +/* + * Copyright (c) 2003-2006 by FlashCode <flashcode@flashtux.org> + * See README for License detail, AUTHORS for developers list. + * + * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +/* weechat-aspell.h: Aspell plugin support for WeeChat */ #ifndef WEECHAT_ASPELL__H #define WEECHAT_ASPELL__H 1 #include <aspell.h> -char plugin_name[] = "Aspell"; -char plugin_version[] = "0.1"; -char plugin_description[] = "Aspell plugin for WeeChat"; -char plugin_command[] = "aspell"; +#define _PLUGIN_NAME "Aspell" +#define _PLUGIN_VERSION "0.1" +#define _PLUGIN_DESC "Aspell plugin for WeeChat" +#define _PLUGIN_COMMAND "aspell" + +char plugin_name[] = _PLUGIN_NAME; +char plugin_version[] = _PLUGIN_VERSION; +char plugin_description[] = _PLUGIN_DESC; +char plugin_command[] = _PLUGIN_COMMAND; -#define _OPTION_WORD_SIZE 2 -#define _OPTION_CHECK_SYNC 0 -#define _OPTION_COLOR "red" +#define _PLUGIN_OPTION_WORD_SIZE 2 +#define _PLUGIN_OPTION_CHECK_SYNC 0 +#define _PLUGIN_OPTION_COLOR "red" typedef struct speller_t { |