File indexing completed on 2025-03-13 08:35:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __ATK_STREAMABLE_CONTENT_H__
0021 #define __ATK_STREAMABLE_CONTENT_H__
0022
0023 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined(__ATK_H_INSIDE__) && !defined(ATK_COMPILATION)
0024 #error "Only <atk/atk.h> can be included directly."
0025 #endif
0026
0027 #include <atk/atkobject.h>
0028
0029 G_BEGIN_DECLS
0030
0031 #define ATK_TYPE_STREAMABLE_CONTENT (atk_streamable_content_get_type ())
0032 #define ATK_IS_STREAMABLE_CONTENT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_STREAMABLE_CONTENT)
0033 #define ATK_STREAMABLE_CONTENT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_STREAMABLE_CONTENT, AtkStreamableContent)
0034 #define ATK_STREAMABLE_CONTENT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATK_TYPE_STREAMABLE_CONTENT, AtkStreamableContentIface))
0035
0036 #ifndef _TYPEDEF_ATK_STREAMABLE_CONTENT
0037 #define _TYPEDEF_ATK_STREAMABLE_CONTENT
0038 typedef struct _AtkStreamableContent AtkStreamableContent;
0039 #endif
0040 typedef struct _AtkStreamableContentIface AtkStreamableContentIface;
0041
0042 struct _AtkStreamableContentIface
0043 {
0044 GTypeInterface parent;
0045
0046
0047
0048
0049 gint (*get_n_mime_types) (AtkStreamableContent *streamable);
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 const gchar *(*get_mime_type) (AtkStreamableContent *streamable,
0062 gint i);
0063
0064
0065
0066
0067
0068
0069 GIOChannel *(*get_stream) (AtkStreamableContent *streamable,
0070 const gchar *mime_type);
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083 const gchar *(*get_uri) (AtkStreamableContent *streamable,
0084 const gchar *mime_type);
0085
0086 AtkFunction pad1;
0087 AtkFunction pad2;
0088 AtkFunction pad3;
0089 };
0090 ATK_AVAILABLE_IN_ALL
0091 GType atk_streamable_content_get_type (void);
0092
0093 ATK_AVAILABLE_IN_ALL
0094 gint atk_streamable_content_get_n_mime_types (AtkStreamableContent *streamable);
0095
0096 ATK_AVAILABLE_IN_ALL
0097 const gchar *atk_streamable_content_get_mime_type (AtkStreamableContent *streamable,
0098 gint i);
0099 ATK_AVAILABLE_IN_ALL
0100 GIOChannel *atk_streamable_content_get_stream (AtkStreamableContent *streamable,
0101 const gchar *mime_type);
0102
0103 ATK_AVAILABLE_IN_ALL
0104 const gchar *atk_streamable_content_get_uri (AtkStreamableContent *streamable,
0105 const gchar *mime_type);
0106
0107 G_END_DECLS
0108
0109 #endif