summaryrefslogtreecommitdiff
path: root/Runtime/Utilities/GlobalPreferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Utilities/GlobalPreferences.h')
-rw-r--r--Runtime/Utilities/GlobalPreferences.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Runtime/Utilities/GlobalPreferences.h b/Runtime/Utilities/GlobalPreferences.h
new file mode 100644
index 0000000..b0ca58f
--- /dev/null
+++ b/Runtime/Utilities/GlobalPreferences.h
@@ -0,0 +1,15 @@
+#ifndef GLOBALPREFERENCES_H
+#define GLOBALPREFERENCES_H
+
+#if WEBPLUG
+std::string GetStrippedPlayerDomain ();
+#endif
+
+// Used for hardware stats and webplayer settings.
+std::string GetGlobalPreference(const char *key);
+bool GetGlobalBoolPreference(const char *key, bool defaultValue);
+
+void SetGlobalPreference(const char *key, std::string value);
+void SetGlobalBoolPreference(const char *key, bool value);
+
+#endif \ No newline at end of file