Merge pull request #26148 from ksooo/fix-secondstotimestring-warning
[xbmc.git] / xbmc / FileItemListModification.h
blob2abb07fdcf1a469f7aa34cd21196ebe88e261694
1 /*
2 * Copyright (C) 2013-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "IFileItemListModifier.h"
13 #include <set>
15 class CFileItemListModification : public IFileItemListModifier
17 public:
18 ~CFileItemListModification() override;
20 static CFileItemListModification& GetInstance();
22 bool CanModify(const CFileItemList &items) const override;
23 bool Modify(CFileItemList &items) const override;
25 private:
26 CFileItemListModification();
27 CFileItemListModification(const CFileItemListModification&) = delete;
28 CFileItemListModification& operator=(CFileItemListModification const&) = delete;
30 std::set<IFileItemListModifier*> m_modifiers;