/usr/include/libsocialweb/interfaces/sw-collections-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 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 | #include <glib-object.h>
#include <dbus/dbus-glib.h>
G_BEGIN_DECLS
/**
* SwCollectionsIface:
*
* Dummy typedef representing any implementation of this interface.
*/
typedef struct _SwCollectionsIface SwCollectionsIface;
/**
* SwCollectionsIfaceClass:
*
* The class of SwCollectionsIface.
*/
typedef struct _SwCollectionsIfaceClass SwCollectionsIfaceClass;
GType sw_collections_iface_get_type (void);
#define SW_TYPE_COLLECTIONS_IFACE \
(sw_collections_iface_get_type ())
#define SW_COLLECTIONS_IFACE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), SW_TYPE_COLLECTIONS_IFACE, SwCollectionsIface))
#define SW_IS_COLLECTIONS_IFACE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), SW_TYPE_COLLECTIONS_IFACE))
#define SW_COLLECTIONS_IFACE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_INTERFACE((obj), SW_TYPE_COLLECTIONS_IFACE, SwCollectionsIfaceClass))
typedef void (*sw_collections_iface_get_list_impl) (SwCollectionsIface *self,
DBusGMethodInvocation *context);
void sw_collections_iface_implement_get_list (SwCollectionsIfaceClass *klass, sw_collections_iface_get_list_impl impl);
/**
* sw_collections_iface_return_from_get_list:
* @context: The D-Bus method invocation context
* @out_collection_list: const GPtrArray * (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_collections_iface_return_from_get_list (DBusGMethodInvocation *context,
const GPtrArray *out_collection_list);
static inline void
sw_collections_iface_return_from_get_list (DBusGMethodInvocation *context,
const GPtrArray *out_collection_list)
{
dbus_g_method_return (context,
out_collection_list);
}
typedef void (*sw_collections_iface_get_details_impl) (SwCollectionsIface *self,
const gchar *in_collection_id,
DBusGMethodInvocation *context);
void sw_collections_iface_implement_get_details (SwCollectionsIfaceClass *klass, sw_collections_iface_get_details_impl impl);
/**
* sw_collections_iface_return_from_get_details:
* @context: The D-Bus method invocation context
* @out_collection_details: const GValueArray * (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_collections_iface_return_from_get_details (DBusGMethodInvocation *context,
const GValueArray *out_collection_details);
static inline void
sw_collections_iface_return_from_get_details (DBusGMethodInvocation *context,
const GValueArray *out_collection_details)
{
dbus_g_method_return (context,
out_collection_details);
}
typedef void (*sw_collections_iface_create_impl) (SwCollectionsIface *self,
const gchar *in_collection_name,
guint in_supported_types,
const gchar *in_collection_parent,
GHashTable *in_extra_parameters,
DBusGMethodInvocation *context);
void sw_collections_iface_implement_create (SwCollectionsIfaceClass *klass, sw_collections_iface_create_impl impl);
/**
* sw_collections_iface_return_from_create:
* @context: The D-Bus method invocation context
* @out_collection_id: const gchar * (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_collections_iface_return_from_create (DBusGMethodInvocation *context,
const gchar *out_collection_id);
static inline void
sw_collections_iface_return_from_create (DBusGMethodInvocation *context,
const gchar *out_collection_id)
{
dbus_g_method_return (context,
out_collection_id);
}
typedef void (*sw_collections_iface_get_creatable_types_impl) (SwCollectionsIface *self,
DBusGMethodInvocation *context);
void sw_collections_iface_implement_get_creatable_types (SwCollectionsIfaceClass *klass, sw_collections_iface_get_creatable_types_impl impl);
/**
* sw_collections_iface_return_from_get_creatable_types:
* @context: The D-Bus method invocation context
* @out_media_types_list: const GArray * (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_collections_iface_return_from_get_creatable_types (DBusGMethodInvocation *context,
const GArray *out_media_types_list);
static inline void
sw_collections_iface_return_from_get_creatable_types (DBusGMethodInvocation *context,
const GArray *out_media_types_list)
{
dbus_g_method_return (context,
out_media_types_list);
}
G_END_DECLS
|