giomodule test: force shared library build
[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 void                    g_application_impl_destroy                      (GApplicationImpl   *impl);
15
16 GApplicationImpl *      g_application_impl_register                     (GApplication        *application,
17                                                                          const gchar         *appid,
18                                                                          GApplicationFlags    flags,
19                                                                          GActionGroup        *exported_actions,
20                                                                          GRemoteActionGroup **remote_actions,
21                                                                          GCancellable        *cancellable,
22                                                                          GError             **error);
23
24 void                    g_application_impl_activate                     (GApplicationImpl   *impl,
25                                                                          GVariant           *platform_data);
26
27 void                    g_application_impl_open                         (GApplicationImpl   *impl,
28                                                                          GFile             **files,
29                                                                          gint                n_files,
30                                                                          const gchar        *hint,
31                                                                          GVariant           *platform_data);
32
33 int                     g_application_impl_command_line                 (GApplicationImpl   *impl,
34                                                                          gchar             **arguments,
35                                                                          GVariant           *platform_data);
36
37 void                    g_application_impl_flush                        (GApplicationImpl   *impl);
38
39 GDBusConnection *       g_application_impl_get_dbus_connection          (GApplicationImpl   *impl);
40
41 const gchar *           g_application_impl_get_dbus_object_path         (GApplicationImpl   *impl);
42
43 void                    g_application_impl_set_busy_state               (GApplicationImpl   *impl,
44                                                                          gboolean            busy);