summaryrefslogtreecommitdiffstats
path: root/xbmc/interfaces/info/Info.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/interfaces/info/Info.h')
-rw-r--r--xbmc/interfaces/info/Info.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/xbmc/interfaces/info/Info.h b/xbmc/interfaces/info/Info.h
new file mode 100644
index 0000000..e454e3c
--- /dev/null
+++ b/xbmc/interfaces/info/Info.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2022 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
+
+namespace INFO
+{
+/*! Default context of the INFO interface
+ @note when info conditions are evaluated different contexts can be passed. Context usually refers to the window ids where
+ the conditions are being evaluated. By default conditions, skin variables and labels are initialized using the DEFAULT_CONTEXT
+ value unless specifically bound to a given window.
+ */
+constexpr int DEFAULT_CONTEXT = 0;
+} // namespace INFO