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.
11 #include "MediaSource.h"
13 #include "filesystem/IDirectory.h"
17 class CSMBDirectory
: public IDirectory
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
);
31 int OpenDir(const CURL
&url
, std::string
& strAuth
);