gapplicationimpl.h 2.52 KB
Newer Older
1 2 3 4
#include "giotypes.h"

typedef struct _GApplicationImpl GApplicationImpl;

5 6 7 8 9 10 11 12 13
typedef struct
{
  gchar *name;

  GVariantType *parameter_type;
  gboolean      enabled;
  GVariant     *state;
} RemoteActionInfo;

14 15
void                    g_application_impl_destroy                      (GApplicationImpl   *impl);

16 17 18 19 20 21 22
GApplicationImpl *      g_application_impl_register                     (GApplication        *application,
                                                                         const gchar         *appid,
                                                                         GApplicationFlags    flags,
                                                                         GActionGroup        *exported_actions,
                                                                         GRemoteActionGroup **remote_actions,
                                                                         GCancellable        *cancellable,
                                                                         GError             **error);
23 24 25 26 27 28 29 30 31 32

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);

33
int                     g_application_impl_command_line                 (GApplicationImpl   *impl,
34
                                                                         const gchar *const *arguments,
35 36
                                                                         GVariant           *platform_data);

37
void                    g_application_impl_flush                        (GApplicationImpl   *impl);
38 39 40 41

GDBusConnection *       g_application_impl_get_dbus_connection          (GApplicationImpl   *impl);

const gchar *           g_application_impl_get_dbus_object_path         (GApplicationImpl   *impl);
42 43 44

void                    g_application_impl_set_busy_state               (GApplicationImpl   *impl,
                                                                         gboolean            busy);