diff options
Diffstat (limited to 'xbmc/interfaces/info/InfoBool.cpp')
-rw-r--r-- | xbmc/interfaces/info/InfoBool.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xbmc/interfaces/info/InfoBool.cpp b/xbmc/interfaces/info/InfoBool.cpp new file mode 100644 index 0000000..65b1f44 --- /dev/null +++ b/xbmc/interfaces/info/InfoBool.cpp @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2013-2018 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. + */ + +#include "InfoBool.h" + +#include "utils/StringUtils.h" + +namespace INFO +{ + InfoBool::InfoBool(const std::string &expression, int context, unsigned int &refreshCounter) + : m_value(false), + m_context(context), + m_listItemDependent(false), + m_expression(expression), + m_refreshCounter(0), + m_parentRefreshCounter(refreshCounter) + { + StringUtils::ToLower(m_expression); + } +} |