/usr/include/libunity_webapps-0.2/unity-webapps-gen-notification.h is in libunity-webapps-dev 2.5.0~+16.04.20160201-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | /*
* Generated by gdbus-codegen 2.47.5. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
#ifndef __UNITY_WEBAPPS_GEN_NOTIFICATION_H__
#define __UNITY_WEBAPPS_GEN_NOTIFICATION_H__
#include <gio/gio.h>
G_BEGIN_DECLS
/* ------------------------------------------------------------------------ */
/* Declarations for com.canonical.Unity.Webapps.Notification */
#define UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION (unity_webapps_gen_notification_get_type ())
#define UNITY_WEBAPPS_GEN_NOTIFICATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION, UnityWebappsGenNotification))
#define UNITY_WEBAPPS_GEN_IS_NOTIFICATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION))
#define UNITY_WEBAPPS_GEN_NOTIFICATION_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION, UnityWebappsGenNotificationIface))
struct _UnityWebappsGenNotification;
typedef struct _UnityWebappsGenNotification UnityWebappsGenNotification;
typedef struct _UnityWebappsGenNotificationIface UnityWebappsGenNotificationIface;
struct _UnityWebappsGenNotificationIface
{
GTypeInterface parent_iface;
gboolean (*handle_show_notification) (
UnityWebappsGenNotification *object,
GDBusMethodInvocation *invocation,
const gchar *arg_summary,
const gchar *arg_body,
const gchar *arg_iconurl);
};
GType unity_webapps_gen_notification_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *unity_webapps_gen_notification_interface_info (void);
guint unity_webapps_gen_notification_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void unity_webapps_gen_notification_complete_show_notification (
UnityWebappsGenNotification *object,
GDBusMethodInvocation *invocation);
/* D-Bus method calls: */
void unity_webapps_gen_notification_call_show_notification (
UnityWebappsGenNotification *proxy,
const gchar *arg_summary,
const gchar *arg_body,
const gchar *arg_iconurl,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean unity_webapps_gen_notification_call_show_notification_finish (
UnityWebappsGenNotification *proxy,
GAsyncResult *res,
GError **error);
gboolean unity_webapps_gen_notification_call_show_notification_sync (
UnityWebappsGenNotification *proxy,
const gchar *arg_summary,
const gchar *arg_body,
const gchar *arg_iconurl,
GCancellable *cancellable,
GError **error);
/* ---- */
#define UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_PROXY (unity_webapps_gen_notification_proxy_get_type ())
#define UNITY_WEBAPPS_GEN_NOTIFICATION_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_PROXY, UnityWebappsGenNotificationProxy))
#define UNITY_WEBAPPS_GEN_NOTIFICATION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_PROXY, UnityWebappsGenNotificationProxyClass))
#define UNITY_WEBAPPS_GEN_NOTIFICATION_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_PROXY, UnityWebappsGenNotificationProxyClass))
#define UNITY_WEBAPPS_GEN_IS_NOTIFICATION_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_PROXY))
#define UNITY_WEBAPPS_GEN_IS_NOTIFICATION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_PROXY))
typedef struct _UnityWebappsGenNotificationProxy UnityWebappsGenNotificationProxy;
typedef struct _UnityWebappsGenNotificationProxyClass UnityWebappsGenNotificationProxyClass;
typedef struct _UnityWebappsGenNotificationProxyPrivate UnityWebappsGenNotificationProxyPrivate;
struct _UnityWebappsGenNotificationProxy
{
/*< private >*/
GDBusProxy parent_instance;
UnityWebappsGenNotificationProxyPrivate *priv;
};
struct _UnityWebappsGenNotificationProxyClass
{
GDBusProxyClass parent_class;
};
GType unity_webapps_gen_notification_proxy_get_type (void) G_GNUC_CONST;
void unity_webapps_gen_notification_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
UnityWebappsGenNotification *unity_webapps_gen_notification_proxy_new_finish (
GAsyncResult *res,
GError **error);
UnityWebappsGenNotification *unity_webapps_gen_notification_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void unity_webapps_gen_notification_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
UnityWebappsGenNotification *unity_webapps_gen_notification_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
UnityWebappsGenNotification *unity_webapps_gen_notification_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_SKELETON (unity_webapps_gen_notification_skeleton_get_type ())
#define UNITY_WEBAPPS_GEN_NOTIFICATION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_SKELETON, UnityWebappsGenNotificationSkeleton))
#define UNITY_WEBAPPS_GEN_NOTIFICATION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_SKELETON, UnityWebappsGenNotificationSkeletonClass))
#define UNITY_WEBAPPS_GEN_NOTIFICATION_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_SKELETON, UnityWebappsGenNotificationSkeletonClass))
#define UNITY_WEBAPPS_GEN_IS_NOTIFICATION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_SKELETON))
#define UNITY_WEBAPPS_GEN_IS_NOTIFICATION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UNITY_WEBAPPS_GEN_TYPE_NOTIFICATION_SKELETON))
typedef struct _UnityWebappsGenNotificationSkeleton UnityWebappsGenNotificationSkeleton;
typedef struct _UnityWebappsGenNotificationSkeletonClass UnityWebappsGenNotificationSkeletonClass;
typedef struct _UnityWebappsGenNotificationSkeletonPrivate UnityWebappsGenNotificationSkeletonPrivate;
struct _UnityWebappsGenNotificationSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
UnityWebappsGenNotificationSkeletonPrivate *priv;
};
struct _UnityWebappsGenNotificationSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType unity_webapps_gen_notification_skeleton_get_type (void) G_GNUC_CONST;
UnityWebappsGenNotification *unity_webapps_gen_notification_skeleton_new (void);
G_END_DECLS
#endif /* __UNITY_WEBAPPS_GEN_NOTIFICATION_H__ */
|