1 /* cspaths.h 2 3 Copyright (C) 2017 and beyond by Jeremiah Morris 4 and the "Aleph One" developers. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 3 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 This license is contained in the file "COPYING", 17 which is included with this source code; it is available online at 18 http://www.gnu.org/licenses/gpl.html 19 20 Provides OS-specific directory paths and application info 21 */ 22 23 #ifndef _CSERIES_PATHS_ 24 #define _CSERIES_PATHS_ 25 26 #include "cstypes.h" 27 #include <string> 28 29 typedef enum { 30 kPathLocalData, 31 kPathDefaultData, 32 kPathLegacyData, 33 kPathBundleData, 34 kPathLogs, 35 kPathPreferences, 36 kPathLegacyPreferences, 37 kPathScreenshots, 38 kPathSavedGames, 39 kPathQuickSaves, 40 kPathImageCache, 41 kPathRecordings 42 } CSPathType; 43 44 std::string get_data_path(CSPathType type); 45 char get_path_list_separator(); 46 47 std::string get_application_name(); 48 std::string get_application_identifier(); 49 50 #endif 51