meson: Simplify the use of built tools
[glib.git] / gio / gapplicationimpl.h
blob1e6a718dbcc5704a58bc2dbd6aa9c90317083508
1 #include "giotypes.h"
3 typedef struct _GApplicationImpl GApplicationImpl;
5 typedef struct
7 gchar *name;
9 GVariantType *parameter_type;
10 gboolean enabled;
11 GVariant *state;
12 } RemoteActionInfo;
14 void g_application_impl_destroy (GApplicationImpl *impl);
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);
24 void g_application_impl_activate (GApplicationImpl *impl,
25 GVariant *platform_data);
27 void g_application_impl_open (GApplicationImpl *impl,
28 GFile **files,
29 gint n_files,
30 const gchar *hint,
31 GVariant *platform_data);
33 int g_application_impl_command_line (GApplicationImpl *impl,
34 const gchar *const *arguments,
35 GVariant *platform_data);
37 void g_application_impl_flush (GApplicationImpl *impl);
39 GDBusConnection * g_application_impl_get_dbus_connection (GApplicationImpl *impl);
41 const gchar * g_application_impl_get_dbus_object_path (GApplicationImpl *impl);
43 void g_application_impl_set_busy_state (GApplicationImpl *impl,
44 gboolean busy);