~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to src/pluginprivate.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-08-07 03:23:12 UTC
  • mfrom: (1.4.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20100807032312-ot70ac9d50cn79we
Tags: upstream-0.19
ImportĀ upstreamĀ versionĀ 0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
20
 *      MA 02110-1301, USA.
21
21
 *
22
 
 * $Id: pluginprivate.h 4630 2010-01-31 21:54:47Z eht16 $
 
22
 * $Id: pluginprivate.h 4518 2010-01-01 22:55:18Z eht16 $
23
23
 */
24
24
 
25
25
 
26
26
#ifndef PLUGINPRIVATE_H
27
27
#define PLUGINPRIVATE_H
28
28
 
29
 
#include "ui_utils.h"
 
29
#include "plugindata.h"
 
30
#include "ui_utils.h"   /* GeanyAutoSeparator */
 
31
#include "keybindings.h"        /* GeanyKeyGroup */
 
32
 
30
33
 
31
34
typedef struct SignalConnection
32
35
{
35
38
}
36
39
SignalConnection;
37
40
 
 
41
 
38
42
typedef struct GeanyPluginPrivate
39
43
{
 
44
        GModule                 *module;
 
45
        gchar                   *filename;                              /* plugin filename (/path/libname.so) */
 
46
        PluginInfo              info;                           /* plugin name, description, etc */
 
47
        GeanyPlugin             public;                         /* fields the plugin can read */
 
48
 
 
49
        void            (*init) (GeanyData *data);                      /* Called when the plugin is enabled */
 
50
        GtkWidget*      (*configure) (GtkDialog *dialog);       /* plugins configure dialog, optional */
 
51
        void            (*configure_single) (GtkWidget *parent); /* plugin configure dialog, optional */
 
52
        void            (*help) (void);                                         /* Called when the plugin should show some help, optional */
 
53
        void            (*cleanup) (void);                                      /* Called when the plugin is disabled or when Geany exits */
 
54
 
 
55
        /* extra stuff */
 
56
        PluginFields    fields;
 
57
        GeanyKeyGroup   *key_group;
40
58
        GeanyAutoSeparator      toolbar_separator;
41
 
        gboolean                        resident;
42
 
        GArray                          *signal_ids;                    /* SignalConnection's to disconnect when unloading */
 
59
        GArray                  *signal_ids;                    /* SignalConnection's to disconnect when unloading */
43
60
}
44
61
GeanyPluginPrivate;
45
62
 
 
63
typedef GeanyPluginPrivate Plugin;      /* shorter alias */
 
64
 
46
65
 
47
66
#endif /* PLUGINPRIVATE_H */