]> Pileus Git - ~andy/gtk/blob - gtk/gtkapplicationprivate.h
move menus over from GLib
[~andy/gtk] / gtk / gtkapplicationprivate.h
1 /*
2  * Copyright © 2011 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, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  * Author: Ryan Lortie <desrt@desrt.ca>
20  */
21
22
23 #ifndef __GTK_APPLICATION_PRIVATE_H__
24 #define __GTK_APPLICATION_PRIVATE_H__
25
26 #include "gsimpleactionobserver.h"
27 #include "gtkapplicationwindow.h"
28
29 G_GNUC_INTERNAL
30 gboolean                gtk_application_window_publish                  (GtkApplicationWindow *window,
31                                                                          GDBusConnection      *session,
32                                                                          const gchar          *object_path);
33
34 G_GNUC_INTERNAL
35 void                    gtk_application_window_unpublish                (GtkApplicationWindow *window);
36
37 G_GNUC_INTERNAL
38 GSimpleActionObserver * gtk_application_window_create_observer          (GtkApplicationWindow *window,
39                                                                          const gchar          *action_name,
40                                                                          GVariant             *target);
41 G_GNUC_INTERNAL
42 const gchar *           gtk_application_get_dbus_object_path            (GtkApplication       *application);
43 G_GNUC_INTERNAL
44 const gchar *           gtk_application_get_app_menu_object_path        (GtkApplication       *application);
45 G_GNUC_INTERNAL
46 const gchar *           gtk_application_get_menubar_object_path         (GtkApplication       *application);
47
48 #endif /* __GTK_APPLICATION_PRIVATE_H__ */