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 "storage/IStorageProvider.h"
16 class CPosixMountProvider
: public IStorageProvider
19 CPosixMountProvider();
20 ~CPosixMountProvider() override
= default;
22 void Initialize() override
;
23 void Stop() override
{ }
25 void GetLocalDrives(VECSOURCES
&localDrives
) override
{ GetDrives(localDrives
); }
26 void GetRemovableDrives(VECSOURCES
&removableDrives
) override
{ /*GetDrives(removableDrives);*/ }
28 std::vector
<std::string
> GetDiskUsage() override
;
30 bool Eject(const std::string
& mountpath
) override
;
32 bool PumpDriveChangeEvents(IStorageEventsCallback
*callback
) override
;
34 void GetDrives(VECSOURCES
&drives
);
36 unsigned int m_removableLength
;