[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / platform / posix / filesystem / SMBDirectory.h
blobcef06d25dca18865d247ffb5017c4458cc985785
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 "MediaSource.h"
12 #include "SMBFile.h"
13 #include "filesystem/IDirectory.h"
15 namespace XFILE
17 class CSMBDirectory : public IDirectory
19 public:
20 CSMBDirectory(void);
21 ~CSMBDirectory(void) override;
22 bool GetDirectory(const CURL& url, CFileItemList &items) override;
23 DIR_CACHE_TYPE GetCacheType(const CURL& url) const override { return DIR_CACHE_ONCE; }
24 bool Create(const CURL& url) override;
25 bool Exists(const CURL& url) override;
26 bool Remove(const CURL& url) override;
28 int Open(const CURL &url);
30 private:
31 int OpenDir(const CURL &url, std::string& strAuth);