/usr/include/libsocialweb/interfaces/sw-video-upload-ginterface.h is in libsocialweb-dev 0.25.20-6.
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 | #include <glib-object.h>
#include <dbus/dbus-glib.h>
G_BEGIN_DECLS
/**
* SwVideoUploadIface:
*
* Dummy typedef representing any implementation of this interface.
*/
typedef struct _SwVideoUploadIface SwVideoUploadIface;
/**
* SwVideoUploadIfaceClass:
*
* The class of SwVideoUploadIface.
*/
typedef struct _SwVideoUploadIfaceClass SwVideoUploadIfaceClass;
GType sw_video_upload_iface_get_type (void);
#define SW_TYPE_VIDEO_UPLOAD_IFACE \
(sw_video_upload_iface_get_type ())
#define SW_VIDEO_UPLOAD_IFACE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), SW_TYPE_VIDEO_UPLOAD_IFACE, SwVideoUploadIface))
#define SW_IS_VIDEO_UPLOAD_IFACE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), SW_TYPE_VIDEO_UPLOAD_IFACE))
#define SW_VIDEO_UPLOAD_IFACE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_INTERFACE((obj), SW_TYPE_VIDEO_UPLOAD_IFACE, SwVideoUploadIfaceClass))
typedef void (*sw_video_upload_iface_upload_video_impl) (SwVideoUploadIface *self,
const gchar *in_local_filename,
GHashTable *in_fields,
DBusGMethodInvocation *context);
void sw_video_upload_iface_implement_upload_video (SwVideoUploadIfaceClass *klass, sw_video_upload_iface_upload_video_impl impl);
/**
* sw_video_upload_iface_return_from_upload_video:
* @context: The D-Bus method invocation context
* @out_opid: gint (FIXME, generate documentation)
*
* Return successfully by calling dbus_g_method_return().
* This inline function exists only to provide type-safety.
*/
static inline
/* this comment is to stop gtkdoc realising this is static */
void sw_video_upload_iface_return_from_upload_video (DBusGMethodInvocation *context,
gint out_opid);
static inline void
sw_video_upload_iface_return_from_upload_video (DBusGMethodInvocation *context,
gint out_opid)
{
dbus_g_method_return (context,
out_opid);
}
void sw_video_upload_iface_emit_video_upload_progress (gpointer instance,
gint arg_opid,
gint arg_progress,
const gchar *arg_error_message);
G_END_DECLS
|