summaryrefslogtreecommitdiffstats
path: root/xbmc/utils/CSSUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/utils/CSSUtils.h')
-rw-r--r--xbmc/utils/CSSUtils.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/xbmc/utils/CSSUtils.h b/xbmc/utils/CSSUtils.h
new file mode 100644
index 0000000..9d610bb
--- /dev/null
+++ b/xbmc/utils/CSSUtils.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2005-2021 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include <string>
+
+namespace UTILS
+{
+namespace CSS
+{
+
+/*! \brief Escape a CSS string
+ * \param str the string to be escaped
+ */
+void Escape(std::string& str);
+
+} // namespace CSS
+} // namespace UTILS