summaryrefslogtreecommitdiff
path: root/src/yelp-page.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/yelp-page.h')
-rw-r--r--src/yelp-page.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/yelp-page.h b/src/yelp-page.h
index 249282fb..f4428fad 100644
--- a/src/yelp-page.h
+++ b/src/yelp-page.h
@@ -32,6 +32,11 @@
G_BEGIN_DECLS
typedef enum {
+ YELP_PAGE_MIME_HTML,
+ YELP_PAGE_MIME_XHTML
+} YelpPageMime;
+
+typedef enum {
YELP_PAGE_SOURCE_STRING,
YELP_PAGE_SOURCE_FILE
} YelpPageSource;
@@ -44,6 +49,7 @@ typedef struct _YelpPage YelpPage;
struct _YelpPage {
YelpDocument *document;
YelpPageSource source;
+ YelpPageMime mime;
gchar *title;
@@ -65,7 +71,8 @@ struct _YelpPage {
YelpPage * yelp_page_new_string (YelpDocument *document,
gchar *id,
- const gchar *content);
+ const gchar *content,
+ YelpPageMime mime);
GIOStatus yelp_page_read (YelpPage *page,
gchar *buffer,