~ubuntu-branches/debian/squeeze/geany-plugins/squeeze

« back to all changes in this revision

Viewing changes to spellcheck/src/scplugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-07-10 22:56:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090710225641-xc1126t7pq0jmpos
Tags: upstream-0.17.1
Import upstream version 0.17.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      scplugin.h - this file is part of Spellcheck, a Geany plugin
 
3
 *
 
4
 *      Copyright 2008-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
 
5
 *      Copyright 2008-2009 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
 
6
 *
 
7
 *      This program is free software; you can redistribute it and/or modify
 
8
 *      it under the terms of the GNU General Public License as published by
 
9
 *      the Free Software Foundation; either version 2 of the License, or
 
10
 *      (at your option) any later version.
 
11
 *
 
12
 *      This program is distributed in the hope that it will be useful,
 
13
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 *      GNU General Public License for more details.
 
16
 *
 
17
 *      You should have received a copy of the GNU General Public License
 
18
 *      along with this program; if not, write to the Free Software
 
19
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
20
 *      MA 02110-1301, USA.
 
21
 *
 
22
 * $Id$
 
23
 */
 
24
 
 
25
 
 
26
#ifndef SC_PLUGIN_H
 
27
#define SC_PLUGIN_H 1
 
28
 
 
29
 
 
30
 
 
31
typedef struct
 
32
{
 
33
        gchar *config_file;
 
34
        gchar *default_language;
 
35
        gboolean use_msgwin;
 
36
        gboolean check_while_typing;
 
37
        gboolean show_toolbar_item;
 
38
        gulong signal_id;
 
39
        GPtrArray *dicts;
 
40
        GtkWidget *menu_item;
 
41
        GtkWidget *submenu_item_default;
 
42
        GtkWidget *edit_menu;
 
43
        GtkWidget *edit_menu_sep;
 
44
        GtkWidget *edit_menu_sub;
 
45
        GtkToolItem *toolbar_button;
 
46
} SpellCheck;
 
47
 
 
48
 
 
49
extern SpellCheck               *sc_info;
 
50
extern GeanyPlugin              *geany_plugin;
 
51
extern GeanyData                *geany_data;
 
52
extern GeanyFunctions   *geany_functions;
 
53
 
 
54
#endif