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

51 lines
1.4 KiB
C
Raw Normal View History

2006-05-21 16:11:05 -07:00
/*
2006-02-27 03:40:15 -08:00
* 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"
2006-04-22 09:32:36 -07:00
#include "mooutils/mooconfig.h"
2006-02-27 03:40:15 -08:00
#ifndef __AS_PLUGIN_H__
#define __AS_PLUGIN_H__
G_BEGIN_DECLS
2006-04-23 23:28:53 -07:00
#define AS_FILE "as.cfg"
2006-04-23 23:28:53 -07:00
#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"
2006-02-27 03:40:15 -08:00
#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
2006-02-27 03:40:15 -08:00
GtkWidget *_as_plugin_prefs_page (MooPlugin *plugin);
void _as_plugin_reload (MooPlugin *plugin);
2006-04-22 09:32:36 -07:00
MooConfig *_as_plugin_load_config (void);
gboolean _as_plugin_save_config (MooConfig *config,
GError **error);
2006-02-27 03:40:15 -08:00
G_END_DECLS
#endif /* __AS_PLUGIN_H__ */