xbmc
DirectoryFactory.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 class CFileItem;
14 
15 namespace XFILE
16 {
37 {
38 public:
39  static IDirectory* Create(const CURL& url);
40  static IDirectory* Create(const CFileItem& item);
41 };
42 }
Interface to the directory on a file system.
Definition: IDirectory.h:51
Definition: Scraper.h:41
Definition: URL.h:21
static IDirectory * Create(const CURL &url)
Create a IDirectory object of the share type specified in strPath .
Definition: DirectoryFactory.cpp:109
Get access to a directory of a file system.
Definition: DirectoryFactory.h:36
Represents a file on a share.
Definition: FileItem.h:102