[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / filesystem / NFSDirectory.h
blob684ad8caefd658709deeaa121b1d825e7f3b95e2
1 /*
2 * Copyright (C) 2011-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 "IDirectory.h"
12 #include "NFSFile.h"
14 struct nfsdirent;
16 namespace XFILE
18 class CNFSDirectory : public IDirectory
20 public:
21 CNFSDirectory(void);
22 ~CNFSDirectory(void) override;
23 bool GetDirectory(const CURL& url, CFileItemList &items) override;
24 DIR_CACHE_TYPE GetCacheType(const CURL& url) const override { return DIR_CACHE_ONCE; }
25 bool Create(const CURL& url) override;
26 bool Exists(const CURL& url) override;
27 bool Remove(const CURL& url) override;
28 private:
29 bool GetServerList(CFileItemList &items);
30 bool GetDirectoryFromExportList(const std::string& strPath, CFileItemList &items);
31 bool ResolveSymlink( const std::string &dirName, struct nfsdirent *dirent, CURL &resolvedUrl);