2008-05-28 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / tests / dummyatk / my-atk-streamable-content.h
1 #ifndef MY_ATK_STREAMABLE_CONTENT_H
2 #define MY_ATK_STREAMABLE_CONTENT_H
3
4 /*
5  * MyAtkStreamableContent: derives GObject and implements AtkStreamableContent
6  */
7
8 #include <atk/atk.h>
9
10 #define MY_TYPE_ATK_STREAMABLE_CONTENT             (my_atk_streamable_content_get_type ())
11 #define MY_ATK_STREAMABLE_CONTENT(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), MY_TYPE_ATK_STREAMABLE_CONTENT, MyAtkStreamableContent))
12 #define MY_ATK_STREAMABLE_CONTENT_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), MY_TYPE_ATK_STREAMABLE_CONTENT, MyAtkStreamableContentClass))
13 #define MY_IS_ATK_STREAMABLE_CONTENT(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MY_TYPE_ATK_STREAMABLE_CONTENT))
14 #define MY_IS_ATK_STREAMABLE_CONTENT_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), MY_TYPE_ATK_STREAMABLE_CONTENT))
15 #define MY_ATK_STREAMABLE_CONTENT_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), MY_TYPE_ATK_STREAMABLE_CONTENT, MyAtkStreamableContentClass))
16
17 typedef struct _MyAtkStreamableContent MyAtkStreamableContent;
18 typedef struct _MyAtkStreamableContentClass MyAtkStreamableContentClass;
19
20 static const gchar* mime_types[]={"text/plain", "text/richtext"};
21 static const gchar* file_names[]={"file1", "file2"};
22 struct _MyAtkStreamableContent
23 {
24     GObject parent;
25 };
26
27 struct _MyAtkStreamableContentClass
28 {
29     GObjectClass parent;
30 };
31
32 GType my_atk_streamable_content_get_type();
33 #endif /*MY_ATK_STREAMABLE_CONTENT_H*/