1 #ifndef MODEST_MIME_PART_SEARCH_STREAM_H
2 #define MODEST_MIME_PART_SEARCH_STREAM_H
5 #include <glib-object.h>
11 #include <tny-stream.h>
15 #define MODEST_TYPE_MIME_PART_SEARCH_STREAM (modest_mime_part_search_stream_get_type ())
16 #define MODEST_MIME_PART_SEARCH_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MODEST_TYPE_MIME_PART_SEARCH_STREAM, ModestMimePartSearchStream))
17 #define MODEST_MIME_PART_SEARCH_STREAM_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), MODEST_TYPE_MIME_PART_SEARCH_STREAM, ModestMimePartSearchStreamClass))
18 #define MODEST_IS_MIME_PART_SEARCH_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MODEST_TYPE_MIME_PART_SEARCH_STREAM))
19 #define MODEST_IS_MIME_PART_SEARCH_STREAM_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), MODEST_TYPE_MIME_PART_SEARCH_STREAM))
20 #define MODEST_MIME_PART_SEARCH_STREAM_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), MODEST_TYPE_MIME_PART_SEARCH_STREAM, ModestMimePartSearchStreamClass))
22 typedef struct _ModestMimePartSearchStream ModestMimePartSearchStream;
23 typedef struct _ModestMimePartSearchStreamClass ModestMimePartSearchStreamClass;
25 struct _ModestMimePartSearchStream
32 struct _ModestMimePartSearchStreamClass
37 GType modest_mime_part_search_stream_get_type (void);
38 TnyStream* modest_mime_part_search_stream_new (const char *search_for);