2010-10-06 19:08:26 +02:00
|
|
|
#include "giotypes.h"
|
|
|
|
|
|
|
|
typedef struct _GApplicationImpl GApplicationImpl;
|
|
|
|
|
2010-10-25 20:32:07 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
gchar *name;
|
|
|
|
|
|
|
|
GVariantType *parameter_type;
|
|
|
|
gboolean enabled;
|
|
|
|
GVariant *state;
|
|
|
|
} RemoteActionInfo;
|
|
|
|
|
2010-10-06 19:08:26 +02:00
|
|
|
void g_application_impl_destroy (GApplicationImpl *impl);
|
|
|
|
|
2011-12-17 06:52:57 +01:00
|
|
|
GApplicationImpl * g_application_impl_register (GApplication *application,
|
|
|
|
const gchar *appid,
|
|
|
|
GApplicationFlags flags,
|
|
|
|
GActionGroup *exported_actions,
|
|
|
|
GRemoteActionGroup **remote_actions,
|
|
|
|
GCancellable *cancellable,
|
|
|
|
GError **error);
|
2010-10-06 19:08:26 +02:00
|
|
|
|
|
|
|
void g_application_impl_activate (GApplicationImpl *impl,
|
|
|
|
GVariant *platform_data);
|
|
|
|
|
|
|
|
void g_application_impl_open (GApplicationImpl *impl,
|
|
|
|
GFile **files,
|
|
|
|
gint n_files,
|
|
|
|
const gchar *hint,
|
|
|
|
GVariant *platform_data);
|
|
|
|
|
2010-10-09 23:24:09 +02:00
|
|
|
int g_application_impl_command_line (GApplicationImpl *impl,
|
2014-01-13 00:14:30 +01:00
|
|
|
const gchar *const *arguments,
|
2010-10-09 23:24:09 +02:00
|
|
|
GVariant *platform_data);
|
|
|
|
|
2010-10-06 19:08:26 +02:00
|
|
|
void g_application_impl_flush (GApplicationImpl *impl);
|
2012-04-30 18:20:54 +02:00
|
|
|
|
|
|
|
GDBusConnection * g_application_impl_get_dbus_connection (GApplicationImpl *impl);
|
|
|
|
|
|
|
|
const gchar * g_application_impl_get_dbus_object_path (GApplicationImpl *impl);
|
2013-04-03 20:12:03 +02:00
|
|
|
|
|
|
|
void g_application_impl_set_busy_state (GApplicationImpl *impl,
|
|
|
|
gboolean busy);
|