"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xbmc/settings/lib/ISettingControl.h" between
xbmc-19.0-Matrix.tar.gz and xbmc-19.1.tar.gz

About:

ISettingControl.h  (xbmc-19.0-Matrix):ISettingControl.h  (xbmc-19.1)
/* /*
* Copyright (C) 2013-2018 Team Kodi * Copyright (C) 2013-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv * This file is part of Kodi - https://kodi.tv
* *
* SPDX-License-Identifier: GPL-2.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information. * See LICENSES/README.md for more information.
*/ */
#pragma once #pragma once
#include "utils/StaticLoggerBase.h" #include "utils/logtypes.h"
#include <string> #include <string>
class TiXmlNode; class TiXmlNode;
class ISettingControl : public CStaticLoggerBase class ISettingControl
{ {
public: public:
ISettingControl(); ISettingControl();
virtual ~ISettingControl() = default; virtual ~ISettingControl() = default;
virtual std::string GetType() const = 0; virtual std::string GetType() const = 0;
const std::string& GetFormat() const { return m_format; } const std::string& GetFormat() const { return m_format; }
bool GetDelayed() const { return m_delayed; } bool GetDelayed() const { return m_delayed; }
void SetDelayed(bool delayed) { m_delayed = delayed; } void SetDelayed(bool delayed) { m_delayed = delayed; }
virtual bool Deserialize(const TiXmlNode *node, bool update = false); virtual bool Deserialize(const TiXmlNode *node, bool update = false);
virtual bool SetFormat(const std::string &format) { return true; } virtual bool SetFormat(const std::string &format) { return true; }
protected: protected:
bool m_delayed = false; bool m_delayed = false;
std::string m_format; std::string m_format;
static Logger s_logger;
}; };
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)