[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / favourites / FavouritesUtils.h
blobb57839dbbbc1289fe079bb03ed814fc1d0b49091
1 /*
2 * Copyright (C) 2023 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 <memory>
13 class CExecString;
14 class CFavouritesURL;
15 class CFileItem;
16 class CFileItemList;
18 namespace FAVOURITES_UTILS
20 bool ChooseAndSetNewName(CFileItem& item);
21 bool ChooseAndSetNewThumbnail(CFileItem& item);
22 bool MoveItem(CFileItemList& items, const std::shared_ptr<CFileItem>& item, int amount);
23 bool RemoveItem(CFileItemList& items, const std::shared_ptr<CFileItem>& item);
24 bool ShouldEnableMoveItems();
26 bool ExecuteAction(const CExecString& execString);
27 bool ExecuteAction(const CFavouritesURL& favURL);
29 } // namespace FAVOURITES_UTILS