1 | /* |
2 | * Copyright © 2013 Canonical Limited |
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 |
6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the licence, or (at your option) any later version. |
8 | * |
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. |
13 | * |
14 | * You should have received a copy of the GNU Lesser General Public |
15 | * License along with this library; if not, see <http://www.gnu.org/licenses/>. |
16 | * |
17 | * Author: Ryan Lortie <desrt@desrt.ca> |
18 | */ |
19 | |
20 | #ifndef __GTK_MENU_TRACKER_PRIVATE_H__ |
21 | #define |
22 | |
23 | #include "gtkmenutrackeritemprivate.h" |
24 | |
25 | typedef struct ; |
26 | |
27 | typedef void (* ) (GtkMenuTrackerItem *item, |
28 | int position, |
29 | gpointer user_data); |
30 | |
31 | typedef void (* ) (int position, |
32 | gpointer user_data); |
33 | |
34 | |
35 | GtkMenuTracker * (GtkActionObservable *observer, |
36 | GMenuModel *model, |
37 | gboolean with_separators, |
38 | gboolean merge_sections, |
39 | gboolean mac_os_mode, |
40 | const char *action_namespace, |
41 | GtkMenuTrackerInsertFunc insert_func, |
42 | GtkMenuTrackerRemoveFunc remove_func, |
43 | gpointer user_data); |
44 | |
45 | GtkMenuTracker * (GtkMenuTrackerItem *item, |
46 | const char *link_name, |
47 | gboolean merge_sections, |
48 | gboolean mac_os_mode, |
49 | GtkMenuTrackerInsertFunc insert_func, |
50 | GtkMenuTrackerRemoveFunc remove_func, |
51 | gpointer user_data); |
52 | |
53 | void (GtkMenuTracker *tracker); |
54 | |
55 | #endif /* __GTK_MENU_TRACKER_PRIVATE_H__ */ |
56 | |