~charlesk/appmenu-gtk/lp-788640

1 by Cody Russell
Application menus initial commit.
1
/*
9.1.1 by Cody Russell
License updates.
2
 * Copyright 2010 Canonical, Ltd.
1 by Cody Russell
Application menus initial commit.
3
 *
4
 * This library is free software; you can redistribute it and/or
5
 * modify it under the terms of the GNU Lesser General Public
9.1.1 by Cody Russell
License updates.
6
 * License version 3, as published by the Free Software Foundation.
1 by Cody Russell
Application menus initial commit.
7
 *
8
 * This library is distributed in the hope that it will be useful,
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
 * Lesser General Public License for more details.
12
 *
9.1.1 by Cody Russell
License updates.
13
 * You should have received a copy of the GNU Lesser General Public License
14
 * along with this library; if not, see <http://www.gnu.org/licenses/>.
1 by Cody Russell
Application menus initial commit.
15
 *
16
 * Authors:
17
 *    Cody Russell  <crussell@canonical.com>
18
 */
19
20
#ifndef __APP_MENU_BRIDGE_H__
21
#define __APP_MENU_BRIDGE_H__
22
17 by Cody Russell
Namespace change, GtkMenuProxy -> UbuntuMenuProxy
23
#include <gtk/ubuntumenuproxy.h>
1 by Cody Russell
Application menus initial commit.
24
25
#define APP_MENU_TYPE_BRIDGE         (app_menu_bridge_get_type ())
26
#define APP_MENU_BRIDGE(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), APP_MENU_TYPE_BRIDGE, AppMenuBridge))
27
#define APP_MENU_BRIDGE_CLASS(c)     (G_TYPE_CHECK_CLASS_CAST ((c), APP_MENU_TYPE_BRIDGE, AppMenuBridgeClass))
28
#define APP_MENU_IS_BRIDGE(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), APP_MENU_TYPE_BRIDGE))
29
#define APP_MENU_IS_BRIDGE_CLASS(c)  (G_TYPE_CHECK_CLASS_TYPE ((c), APP_MENU_TYPE_BRIDGE))
30
#define APP_MENU_BRIDGE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), APP_MENU_TYPE_BRIDGE, AppMenuBridgeClass))
31
32
typedef struct _AppMenuBridge        AppMenuBridge;
33
typedef struct _AppMenuBridgeClass   AppMenuBridgeClass;
34
typedef struct _AppMenuBridgePrivate AppMenuBridgePrivate;
35
36
struct _AppMenuBridge
37
{
17 by Cody Russell
Namespace change, GtkMenuProxy -> UbuntuMenuProxy
38
  UbuntuMenuProxy parent_object;
1 by Cody Russell
Application menus initial commit.
39
  AppMenuBridgePrivate *priv;
40
};
41
42
struct _AppMenuBridgeClass
43
{
17 by Cody Russell
Namespace change, GtkMenuProxy -> UbuntuMenuProxy
44
  UbuntuMenuProxyClass parent_class;
1 by Cody Russell
Application menus initial commit.
45
};
46
47
GType app_menu_bridge_get_type () G_GNUC_CONST;
48
49
#endif /* __APP_MENU_BRIDGE_H__ */