]> git.decadent.org.uk Git - videolink.git/blobdiff - style_sheets.hpp
Release versions 1.2.11 and 1.2.11-1
[videolink.git] / style_sheets.hpp
index aa9d942d638351267d0930934e44a415a4a69fda..66670e6ce5da3f519abbf7dad585a739bdddf171 100644 (file)
@@ -1,20 +1,10 @@
-// Copyright 2005 Ben Hutchings <ben@decadentplace.org.uk>.
+// Copyright 2005-6 Ben Hutchings <ben@decadent.org.uk>.
 // See the file "COPYING" for licence details.
 
 #ifndef INC_STYLESHEETS_HPP
 #define INC_STYLESHEETS_HPP
 
-#include <nsCOMPtr.h>
-#include <nsIStyleSheet.h>
-
-class nsIPresShell;
-
-// Load a CSS from an (absolute) URI.
-// TODO: Support loading from an absolute, or better, relative filename.
-already_AddRefed<nsIStyleSheet> load_css(const char * uri);
-
-// Apply a style-sheet to a given presentation shell as the top-priority
-// agent style-sheet and disable the preferences-derived style rules.
-void apply_style_sheet(nsIStyleSheet *, nsIPresShell *);
+// Load agent style sheet from an (absolute) URI and register it.
+void init_agent_style_sheet(const char * uri);
 
 #endif // !INC_STYLESHEETS_HPP