2009-27-09 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 #include "my-atk-object.h"
11
12 #define MY_TYPE_ATK_STREAMABLE_CONTENT             (my_atk_streamable_content_get_type ())
13 #define MY_ATK_STREAMABLE_CONTENT(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), MY_TYPE_ATK_STREAMABLE_CONTENT, MyAtkStreamableContent))
14 #define MY_ATK_STREAMABLE_CONTENT_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), MY_TYPE_ATK_STREAMABLE_CONTENT, MyAtkStreamableContentClass))
15 #define MY_IS_ATK_STREAMABLE_CONTENT(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MY_TYPE_ATK_STREAMABLE_CONTENT))
16 #define MY_IS_ATK_STREAMABLE_CONTENT_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), MY_TYPE_ATK_STREAMABLE_CONTENT))
17 #define MY_ATK_STREAMABLE_CONTENT_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), MY_TYPE_ATK_STREAMABLE_CONTENT, MyAtkStreamableContentClass))
18
19 typedef struct _MyAtkStreamableContent MyAtkStreamableContent;
20 typedef struct _MyAtkStreamableContentClass MyAtkStreamableContentClass;
21
22 static const gchar* mime_types[]={"text/plain", "text/richtext"};
23 static const gchar* file_names[]={"file1", "file2"};
24 struct _MyAtkStreamableContent
25 {
26     MyAtkObject parent;
27 };
28
29 struct _MyAtkStreamableContentClass
30 {
31     MyAtkObjectClass parent;
32 };
33
34 GType my_atk_streamable_content_get_type();
35 #endif /*MY_ATK_STREAMABLE_CONTENT_H*/