grafthistory: support curl
[elinks/elinks-j605.git] / src / document / css / css.h
blobd7e9f73cb9b1dfdb8d47f744059da73c99d03aca
2 #ifndef EL__DOCUMENT_CSS_CSS_H
3 #define EL__DOCUMENT_CSS_CSS_H
5 struct css_stylesheet;
6 struct module;
7 struct uri;
9 /* TODO: Basicly we need two default stylesheets. One that ELinks controls
10 * (which is defined by the defaults of every property, they could however also
11 * be loadable at startup time, e.g. when/if we will have a very generalised
12 * renderer it would be possible to bypass the HTML renderer but would simply
13 * use an HTML stylesheet like the one in CSS2 Appendix A. "A sample style sheet
14 * for HTML 4.0") and one that the user controls. They should be remerged when
15 * ever the user reloads the user stylesheet but else they should be pretty
16 * static. Together they defines the basic layouting should be done when
17 * rendering the document. */
18 extern struct css_stylesheet default_stylesheet;
20 extern struct module css_module;
22 /* This function will try to import the given @url from the cache. */
23 void import_css(struct css_stylesheet *css, struct uri *uri);
25 #endif