mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 00:46:16 +01:00
eb5381b862
Provide public access to the GDBusConnect and object path that GApplication is using. Prevents others from having to guess these things for themselves based on the application ID. https://bugzilla.gnome.org/show_bug.cgi?id=671249
50 lines
2.5 KiB
C
50 lines
2.5 KiB
C
#include "giotypes.h"
|
|
|
|
typedef struct _GApplicationImpl GApplicationImpl;
|
|
|
|
typedef struct
|
|
{
|
|
gchar *name;
|
|
|
|
GVariantType *parameter_type;
|
|
gboolean enabled;
|
|
GVariant *state;
|
|
} RemoteActionInfo;
|
|
|
|
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,
|
|
GActionGroup *exported_actions,
|
|
GRemoteActionGroup **remote_actions,
|
|
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);
|
|
|
|
G_GNUC_INTERNAL
|
|
int g_application_impl_command_line (GApplicationImpl *impl,
|
|
gchar **arguments,
|
|
GVariant *platform_data);
|
|
|
|
G_GNUC_INTERNAL
|
|
void g_application_impl_flush (GApplicationImpl *impl);
|
|
|
|
G_GNUC_INTERNAL
|
|
GDBusConnection * g_application_impl_get_dbus_connection (GApplicationImpl *impl);
|
|
|
|
G_GNUC_INTERNAL
|
|
const gchar * g_application_impl_get_dbus_object_path (GApplicationImpl *impl);
|