46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4; coding: utf-8 -*-
|
|
*
|
|
* 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"
|
|
|
|
|
|
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__ */
|