]> git.decadent.org.uk Git - videolink.git/blob - style_sheets.hpp
Removed version requirement on mjpegtools.
[videolink.git] / style_sheets.hpp
1 // Copyright 2005 Ben Hutchings <ben@decadentplace.org.uk>.
2 // See the file "COPYING" for licence details.
3
4 #ifndef INC_STYLESHEETS_HPP
5 #define INC_STYLESHEETS_HPP
6
7 #include <nsCOMPtr.h>
8 #include <nsIStyleSheet.h>
9
10 class nsIPresShell;
11
12 // Load a CSS from an (absolute) URI.
13 // TODO: Support loading from an absolute, or better, relative filename.
14 already_AddRefed<nsIStyleSheet> load_css(const char * uri);
15
16 // Apply a style-sheet to a given presentation shell as the top-priority
17 // agent style-sheet and disable the preferences-derived style rules.
18 void apply_style_sheet(nsIStyleSheet *, nsIPresShell *);
19
20 #endif // !INC_STYLESHEETS_HPP