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
|
|
|
G_GNUC_INTERNAL
|
|
|
|
void g_application_impl_destroy (GApplicationImpl *impl);
|
|
|
|
|
|
|
|
G_GNUC_INTERNAL
|
|
|
|
GApplicationImpl * g_application_impl_register (GApplication *application,
|
|
|
|
const gchar *appid,
|
|
|
|
GApplicationFlags flags,
|
2010-10-25 20:32:07 +02:00
|
|
|
GHashTable **remote_actions,
|
2010-10-06 19:08:26 +02:00
|
|
|
GCancellable *cancellable,
|
|
|
|
GError **error);
|
|
|
|
|
|
|
|
G_GNUC_INTERNAL
|
|
|
|
void g_application_impl_activate (GApplicationImpl *impl,
|
|
|
|
GVariant *platform_data);
|
|
|
|
|
|
|
|
G_GNUC_INTERNAL
|
|
|
|
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
|
|
|
G_GNUC_INTERNAL
|
|
|
|
int g_application_impl_command_line (GApplicationImpl *impl,
|
2010-10-19 19:38:00 +02:00
|
|
|
gchar **arguments,
|
2010-10-09 23:24:09 +02:00
|
|
|
GVariant *platform_data);
|
|
|
|
|
2010-10-25 20:32:07 +02:00
|
|
|
G_GNUC_INTERNAL
|
|
|
|
void g_application_impl_change_action_state (GApplicationImpl *impl,
|
|
|
|
const gchar *action_name,
|
|
|
|
GVariant *value,
|
|
|
|
GVariant *platform_data);
|
|
|
|
|
|
|
|
G_GNUC_INTERNAL
|
|
|
|
void g_application_impl_activate_action (GApplicationImpl *impl,
|
|
|
|
const gchar *action_name,
|
|
|
|
GVariant *parameter,
|
|
|
|
GVariant *platform_data);
|
|
|
|
|
2010-10-06 19:08:26 +02:00
|
|
|
G_GNUC_INTERNAL
|
|
|
|
void g_application_impl_flush (GApplicationImpl *impl);
|