~ubuntu-branches/ubuntu/hardy/gnome-commander/hardy

« back to all changes in this revision

Viewing changes to libgcmd/gnome-cmd-plugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-06-13 15:39:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060613153948-gvrt3mb2ddk5u62o
Tags: 1.2.0-3
added --disable-scrollkeeper on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    GNOME Commander - A GNOME based file manager 
 
2
    GNOME Commander - A GNOME based file manager
3
3
    Copyright (C) 2001-2006 Marcus Bjurman
4
4
 
5
5
    This program is free software; you can redistribute it and/or modify
15
15
    You should have received a copy of the GNU General Public License
16
16
    along with this program; if not, write to the Free Software
17
17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
*/ 
 
18
*/
19
19
 
20
20
#ifndef __GNOME_CMD_PLUGIN_H__
21
21
#define __GNOME_CMD_PLUGIN_H__
22
22
 
23
23
#define GNOME_CMD_PLUGIN(obj) \
24
 
        GTK_CHECK_CAST (obj, gnome_cmd_plugin_get_type (), GnomeCmdPlugin)
 
24
    GTK_CHECK_CAST (obj, gnome_cmd_plugin_get_type (), GnomeCmdPlugin)
25
25
#define GNOME_CMD_PLUGIN_CLASS(klass) \
26
 
        GTK_CHECK_CLASS_CAST (klass, gnome_cmd_plugin_get_type (), GnomeCmdPluginClass)
 
26
    GTK_CHECK_CLASS_CAST (klass, gnome_cmd_plugin_get_type (), GnomeCmdPluginClass)
27
27
#define GNOME_CMD_IS_PLUGIN(obj) \
28
28
    GTK_CHECK_TYPE (obj, gnome_cmd_plugin_get_type ())
29
29
#define GNOME_CMD_PLUGIN_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_CMD_PLUGIN, GnomeCmdPluginClass))
37
37
 
38
38
struct _GnomeCmdPlugin
39
39
{
40
 
        GtkObject parent;
 
40
    GtkObject parent;
41
41
};
42
42
 
43
43
struct _GnomeCmdPluginClass
44
44
{
45
 
        GtkObjectClass parent_class;
 
45
    GtkObjectClass parent_class;
46
46
 
47
 
        GtkWidget *(* create_main_menu) (GnomeCmdPlugin *plugin, GnomeCmdState *state);
48
 
        GList *(* create_popup_menu_items) (GnomeCmdPlugin *plugin, GnomeCmdState *state);
49
 
        void (* update_main_menu_state) (GnomeCmdPlugin *plugin, GnomeCmdState *state);
50
 
        void (* configure) (GnomeCmdPlugin *plugin);
 
47
    GtkWidget *(* create_main_menu) (GnomeCmdPlugin *plugin, GnomeCmdState *state);
 
48
    GList *(* create_popup_menu_items) (GnomeCmdPlugin *plugin, GnomeCmdState *state);
 
49
    void (* update_main_menu_state) (GnomeCmdPlugin *plugin, GnomeCmdState *state);
 
50
    void (* configure) (GnomeCmdPlugin *plugin);
51
51
};
52
52
 
53
53