[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / platform / Filesystem.h
blob3e6b7ec52bf73abb12302fbdc0b22664589f87c0
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 <string>
12 #include <system_error>
13 namespace KODI
15 namespace PLATFORM
17 namespace FILESYSTEM
19 struct space_info {
20 std::uintmax_t capacity;
21 std::uintmax_t free;
22 std::uintmax_t available;
25 space_info space(const std::string &path, std::error_code &ec);
27 std::string temp_directory_path(std::error_code &ec);
28 std::string create_temp_directory(std::error_code &ec);
29 std::string temp_file_path(const std::string& suffix, std::error_code& ec);