[videodb] Remove nested transaction when saving state after stopping PVR playback
[xbmc.git] / xbmc / filesystem / PlaylistFileDirectory.h
blob9f956ce10342898e5c8e6e16e657c03c1046d325
1 /*
2 * Copyright (C) 2005-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 "IFileDirectory.h"
13 namespace XFILE
15 class CPlaylistFileDirectory : public IFileDirectory
17 public:
18 CPlaylistFileDirectory();
19 ~CPlaylistFileDirectory() override;
20 bool GetDirectory(const CURL& url, CFileItemList& items) override;
21 bool ContainsFiles(const CURL& url) override;
22 bool Remove(const CURL& url) override;
23 bool AllowAll() const override { return true; }