xbmc
FTPDirectory.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "IDirectory.h"
12 
13 namespace XFILE
14 {
15  class CFTPDirectory : public IDirectory
16  {
17  public:
18  CFTPDirectory(void);
19  ~CFTPDirectory(void) override;
20  bool GetDirectory(const CURL& url, CFileItemList &items) override;
21  bool Exists(const CURL& url) override;
22  private:
23  };
24 }
25 
Interface to the directory on a file system.
Definition: IDirectory.h:51
Definition: Scraper.h:41
bool Exists(const CURL &url) override
Check for directory existence.
Definition: FTPDirectory.cpp:103
Represents a list of files.
Definition: FileItem.h:721
Definition: URL.h:21
bool GetDirectory(const CURL &url, CFileItemList &items) override
Get the items of the directory strPath.
Definition: FTPDirectory.cpp:26
Definition: FTPDirectory.h:15