[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / platform / posix / PosixMountProvider.h
blob170c6445c3732938eae7ac9f472ff8e51aceb752
1 /*
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.
7 */
9 #pragma once
11 #include "storage/IStorageProvider.h"
13 #include <string>
14 #include <vector>
16 class CPosixMountProvider : public IStorageProvider
18 public:
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;
33 private:
34 void GetDrives(VECSOURCES &drives);
36 unsigned int m_removableLength;