[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / platform / Filesystem.h
blob732be9294c53c3314b5e8af0a3e27f2f216fa51e
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 <cstdint>
12 #include <string>
13 #include <system_error>
14 namespace KODI
16 namespace PLATFORM
18 namespace FILESYSTEM
20 struct space_info {
21 std::uintmax_t capacity;
22 std::uintmax_t free;
23 std::uintmax_t available;
26 space_info space(const std::string &path, std::error_code &ec);
28 std::string temp_directory_path(std::error_code &ec);
29 std::string create_temp_directory(std::error_code &ec);
30 std::string temp_file_path(const std::string& suffix, std::error_code& ec);