From 5af318eebe18cbac3eed9b860fcf997850ad9259 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 25 Sep 2008 07:44:05 +0000 Subject: Add API to get/set a stylesheet's disabled state svn path=/trunk/libcss/; revision=5435 --- include/libcss/stylesheet.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h index 2f433a6..30be5ae 100644 --- a/include/libcss/stylesheet.h +++ b/include/libcss/stylesheet.h @@ -27,12 +27,13 @@ css_error css_stylesheet_append_data(css_stylesheet *sheet, const uint8_t *data, size_t len); css_error css_stylesheet_data_done(css_stylesheet *sheet); -/** \todo Need api for setting/clearing disabled flag */ - css_error css_stylesheet_get_url(css_stylesheet *sheet, const char **url); css_error css_stylesheet_get_title(css_stylesheet *sheet, const char **title); css_error css_stylesheet_get_origin(css_stylesheet *sheet, css_origin *origin); css_error css_stylesheet_get_media(css_stylesheet *sheet, uint32_t *media); +css_error css_stylesheet_get_disabled(css_stylesheet *sheet, bool *disabled); +css_error css_stylesheet_set_disabled(css_stylesheet *sheet, bool disabled); + #endif -- cgit v1.2.3