Merge pull request #26350 from jjd-uk/estuary_media_align
[xbmc.git] / xbmc / platform / win32 / filesystem / Win32Directory.h
blobe25f8827dd69d7f9e8178b8199e047b6d0c3c0c2
1 /*
2 * Copyright (C) 2014-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 "filesystem/IDirectory.h"
13 namespace XFILE
16 class CWin32Directory : public IDirectory
18 public:
19 CWin32Directory();
20 virtual ~CWin32Directory();
21 bool GetDirectory(const CURL& url, CFileItemList &items) override;
22 bool Create(const CURL& url) override;
23 bool Exists(const CURL& url) override;
24 bool Remove(const CURL& url) override;
25 bool RemoveRecursive(const CURL& url) override;
27 private:
28 bool Create(std::wstring path) const;