/usr/include/libgsf-1/gsf/gsf-clip-data.h is in libgsf-1-dev 1.14.36-1.
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 | #ifndef GSF_CLIP_DATA_H
#define GSF_CLIP_DATA_H
#include <gsf/gsf-fwd.h>
G_BEGIN_DECLS
/**
* GsfClipFormat:
* @GSF_CLIP_FORMAT_WINDOWS_CLIPBOARD: Windows clipboard format
* @GSF_CLIP_FORMAT_MACINTOSH_CLIPBOARD: Macintosh clipboard format
* @GSF_CLIP_FORMAT_GUID: GUID that contains a format identifier
* @GSF_CLIP_FORMAT_NO_DATA: No clipboard data
* @GSF_CLIP_FORMAT_CLIPBOARD_FORMAT_NAME: Custom clipboard format
* @GSF_CLIP_FORMAT_UNKNOWN: Unknown clipboard type or invalid data
*/
typedef enum {
GSF_CLIP_FORMAT_WINDOWS_CLIPBOARD = -1,
GSF_CLIP_FORMAT_MACINTOSH_CLIPBOARD = -2,
GSF_CLIP_FORMAT_GUID = -3,
GSF_CLIP_FORMAT_NO_DATA = 0,
GSF_CLIP_FORMAT_CLIPBOARD_FORMAT_NAME = 1, /* in the file it's actually any positive integer */
GSF_CLIP_FORMAT_UNKNOWN /* this is our own value for unknown types or invalid data */
} GsfClipFormat;
typedef enum {
GSF_CLIP_FORMAT_WINDOWS_ERROR = -1, /* our own value */
GSF_CLIP_FORMAT_WINDOWS_UNKNOWN = -2, /* our own value */
GSF_CLIP_FORMAT_WINDOWS_METAFILE = 3, /* CF_METAFILEPICT */
GSF_CLIP_FORMAT_WINDOWS_DIB = 8, /* CF_DIB */
GSF_CLIP_FORMAT_WINDOWS_ENHANCED_METAFILE = 14 /* CF_ENHMETAFILE */
} GsfClipFormatWindows;
#define GSF_TYPE_CLIP_DATA (gsf_clip_data_get_type ())
#define GSF_CLIP_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSF_TYPE_CLIP_DATA, GsfClipData))
#define GSF_CLIP_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSF_TYPE_CLIP_DATA, GsfClipDataClass))
#define GSF_IS_CLIP_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSF_TYPE_CLIP_DATA))
#define GSF_IS_CLIP_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSF_TYPE_CLIP_DATA))
#define GSF_CLIP_DATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSF_TYPE_CLIP_DATA, GsfClipDataClass))
typedef struct _GsfClipData GsfClipData;
typedef struct _GsfClipDataClass GsfClipDataClass;
typedef struct _GsfClipDataPrivate GsfClipDataPrivate;
struct _GsfClipData {
GObject object;
GsfClipDataPrivate *priv;
};
GType gsf_clip_data_get_type (void) G_GNUC_CONST;
/* void gsf_clip_data_register_type (GTypeModule *module); glib dynamic types are not thread safe */
GsfClipData *gsf_clip_data_new (GsfClipFormat format,
GsfBlob *data_blob);
GsfClipFormat gsf_clip_data_get_format (GsfClipData *clip_data);
GsfBlob *gsf_clip_data_get_data_blob (GsfClipData *clip_data);
GsfClipFormatWindows gsf_clip_data_get_windows_clipboard_format (GsfClipData *clip_data,
GError **error);
gconstpointer gsf_clip_data_peek_real_data (GsfClipData *clip_data,
gsize *ret_size,
GError **error);
G_END_DECLS
#endif /* GSF_CLIP_DATA_H */
|