GApplication: receiving end of GRemoteActionGroup
[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);