RetroArch/file_path_special.h

56 lines
1.9 KiB
C
Raw Normal View History

2016-05-01 13:07:45 +00:00
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2016 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _FILE_PATH_SPECIAL_H
#define _FILE_PATH_SPECIAL_H
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
2016-06-20 03:11:01 +00:00
enum file_path_enum
{
FILE_PATH_UNKNOWN = 0,
2016-06-20 03:20:14 +00:00
FILE_PATH_CONTENT_HISTORY,
FILE_PATH_MAIN_CONFIG
2016-06-20 03:11:01 +00:00
};
2016-06-11 17:55:27 +00:00
enum application_special_type
{
2016-06-11 17:55:27 +00:00
APPLICATION_SPECIAL_NONE = 0,
2016-06-11 19:51:28 +00:00
APPLICATION_SPECIAL_DIRECTORY_AUTOCONFIG,
APPLICATION_SPECIAL_DIRECTORY_CONFIG,
2016-06-11 17:55:27 +00:00
APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI,
APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT,
2016-06-11 17:55:27 +00:00
APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_ICONS,
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB,
2016-06-11 18:11:36 +00:00
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_BG,
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS,
2016-06-11 18:34:49 +00:00
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_FONT,
APPLICATION_SPECIAL_DIRECTORY_ASSETS_ZARCH,
APPLICATION_SPECIAL_DIRECTORY_ASSETS_ZARCH_FONT,
APPLICATION_SPECIAL_DIRECTORY_ASSETS_ZARCH_ICONS
};
2016-06-20 03:11:01 +00:00
const char *file_path_str(enum file_path_enum enum_idx);
2016-05-01 13:07:45 +00:00
bool fill_pathname_application_data(char *s, size_t len);
2016-06-11 17:55:27 +00:00
void fill_pathname_application_special(char *s, size_t len, enum application_special_type type);
2016-05-01 13:07:45 +00:00
#endif