2
* Copyright (C) 2010 Canonical, Ltd.
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
19
* Authors: Cody Russell <bratsche@gnome.org>
22
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23
#error "Only <gtk/gtk.h> can be included directly."
26
#ifndef __UBUNTU_MENU_PROXY_MODULE_H__
27
#define __UBUNTU_MENU_PROXY_MODULE_H__
29
#include <glib-object.h>
34
#define UBUNTU_TYPE_MENU_PROXY_MODULE (ubuntu_menu_proxy_module_get_type ())
35
#define UBUNTU_MENU_PROXY_MODULE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UBUNTU_TYPE_MENU_PROXY_MODULE, UbuntuMenuProxyModule))
36
#define UBUNTU_MENU_PROXY_MODULE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UBUNTU_TYPE_MENU_PROXY_MODULE, UbuntuMenuProxyModuleClass))
37
#define UBUNTU_IS_MENU_MODULE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UBUNTU_TYPE_MENU_PROXY_MODULE))
38
#define UBUNTU_IS_MENU_PROXY_MODULE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UBUNTU_TYPE_MENU_PROXY_MODULE))
39
#define UBUNTU_MENU_PROXY_MODULE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UBUNTU_TYPE_MENU_PROXY_MODULE, UbuntuMenuProxyModuleClass))
41
typedef struct _UbuntuMenuProxyModule UbuntuMenuProxyModule;
42
typedef struct _UbuntuMenuProxyModuleClass UbuntuMenuProxyModuleClass;
43
typedef struct _UbuntuMenuProxyModulePrivate UbuntuMenuProxyModulePrivate;
45
struct _UbuntuMenuProxyModule
47
GTypeModule parent_instance;
49
UbuntuMenuProxyModulePrivate *priv;
54
void (* load) (UbuntuMenuProxyModule *module);
55
void (* unload) (UbuntuMenuProxyModule *module);
58
struct _UbuntuMenuProxyModuleClass
60
GTypeModuleClass parent_class;
63
GType ubuntu_menu_proxy_module_get_type (void) G_GNUC_CONST;
65
UbuntuMenuProxyModule *ubuntu_menu_proxy_module_get (void);
69
#endif /* __UBUNTU_MENU_PROXY_MODULE_H__ */