medit/moo/mooedit/plugins/activestrings/as-plugin.h

51 lines
1.4 KiB
C

/*
* as-plugin.h
*
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
*
* 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.
*
* See COPYING file that comes with this distribution.
*/
#include "mooedit/mooplugin.h"
#include "mooutils/mooconfig.h"
#ifndef __AS_PLUGIN_H__
#define __AS_PLUGIN_H__
G_BEGIN_DECLS
#define AS_FILE "as.cfg"
#define AS_KEY_PATTERN "pattern"
#define AS_KEY_LANG "lang"
#define AS_KEY_ENABLED "enabled"
#define AS_KEY_WORD_BOUNDARY "word-boundary"
#define AS_PLUGIN_ID "ActiveStrings"
#define AS_PREFS_ROOT MOO_PLUGIN_PREFS_ROOT "/" AS_PLUGIN_ID
#define AS_FILE_PREFS_KEY AS_PREFS_ROOT "/file"
#define _as_plugin_prefs_page _moo_as_plugin_prefs_page
#define _as_plugin_reload _moo_as_plugin_reload
#define _as_plugin_load_config _moo_as_plugin_load_config
#define _as_plugin_save_config _moo_as_plugin_save_config
GtkWidget *_as_plugin_prefs_page (MooPlugin *plugin);
void _as_plugin_reload (MooPlugin *plugin);
MooConfig *_as_plugin_load_config (void);
gboolean _as_plugin_save_config (MooConfig *config,
GError **error);
G_END_DECLS
#endif /* __AS_PLUGIN_H__ */