diff options
Diffstat (limited to 'content/handlers/javascript/duktape/CSSRule.bnd')
-rw-r--r-- | content/handlers/javascript/duktape/CSSRule.bnd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/content/handlers/javascript/duktape/CSSRule.bnd b/content/handlers/javascript/duktape/CSSRule.bnd new file mode 100644 index 000000000..555023c85 --- /dev/null +++ b/content/handlers/javascript/duktape/CSSRule.bnd @@ -0,0 +1,22 @@ +/* CSS Rule binding for NetSurf using duktape and libcss/libdom + * + * Copyright 2022 Daniel Silverstone <dsilvers@netsurf-browser.org> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * Released under the terms of the MIT License, + * http://www.opensource.org/licenses/mit-license + */ + +/* Note, for now this exists purely to block warnings, eventually + * rules will have to come from stylesheets etc. + */ + +class CSSRule { + private bool unused; +}; + +init CSSRule() +%{ + priv->unused = true; +%} |