GMenuModel: remove a type safety bug
[platform/upstream/glib.git] / gio / gapplicationimpl.h
1 #include "giotypes.h"
2
3 typedef struct _GApplicationImpl GApplicationImpl;
4
5 typedef struct
6 {
7   gchar *name;
8
9   GVariantType *parameter_type;
10   gboolean      enabled;
11   GVariant     *state;
12 } RemoteActionInfo;
13
14 G_GNUC_INTERNAL
15 void                    g_application_impl_destroy                      (GApplicationImpl   *impl);
16
17 G_GNUC_INTERNAL
18 GApplicationImpl *      g_application_impl_register                     (GApplication        *application,
19                                                                          const gchar         *appid,
20                                                                          GApplicationFlags    flags,
21                                                                          GActionGroup        *exported_actions,
22                                                                          GRemoteActionGroup **remote_actions,
23                                                                          GCancellable        *cancellable,
24                                                                          GError             **error);
25
26 G_GNUC_INTERNAL
27 void                    g_application_impl_activate                     (GApplicationImpl   *impl,
28                                                                          GVariant           *platform_data);
29
30 G_GNUC_INTERNAL
31 void                    g_application_impl_open                         (GApplicationImpl   *impl,
32                                                                          GFile             **files,
33                                                                          gint                n_files,
34                                                                          const gchar        *hint,
35                                                                          GVariant           *platform_data);
36
37 G_GNUC_INTERNAL
38 int                     g_application_impl_command_line                 (GApplicationImpl   *impl,
39                                                                          gchar             **arguments,
40                                                                          GVariant           *platform_data);
41
42 G_GNUC_INTERNAL
43 void                    g_application_impl_flush                        (GApplicationImpl   *impl);
44
45 G_GNUC_INTERNAL
46 GDBusConnection *       g_application_impl_get_dbus_connection          (GApplicationImpl   *impl);
47
48 G_GNUC_INTERNAL
49 const gchar *           g_application_impl_get_dbus_object_path         (GApplicationImpl   *impl);