gapplicationimpl.h 2.23 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 16 17
G_GNUC_INTERNAL
void                    g_application_impl_destroy                      (GApplicationImpl   *impl);

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

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

37 38
G_GNUC_INTERNAL
int                     g_application_impl_command_line                 (GApplicationImpl   *impl,
39
                                                                         gchar             **arguments,
40 41
                                                                         GVariant           *platform_data);

42 43
G_GNUC_INTERNAL
void                    g_application_impl_flush                        (GApplicationImpl   *impl);