RetroArch
dirs.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2011-2017 - Daniel De Matteis
3  *
4  * RetroArch is free software: you can redistribute it and/or modify it under the terms
5  * of the GNU General Public License as published by the Free Software Found-
6  * ation, either version 3 of the License, or (at your option) any later version.
7  *
8  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  * PURPOSE. See the GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License along with RetroArch.
13  * If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #ifndef __DIRS_H
17 #define __DIRS_H
18 
19 #include <boolean.h>
20 #include <retro_common_api.h>
21 
23 
25 {
32 };
33 
34 bool dir_init_shader(void);
35 
36 bool dir_free_shader(void);
37 
38 void dir_check_shader(bool pressed_next, bool pressed_prev);
39 
41 
42 void dir_clear(enum rarch_dir_type type);
43 
44 void dir_clear_all(void);
45 
46 size_t dir_get_size(enum rarch_dir_type type);
47 
48 char *dir_get_ptr(enum rarch_dir_type type);
49 
50 const char *dir_get(enum rarch_dir_type type);
51 
52 void dir_set(enum rarch_dir_type type, const char *path);
53 
54 void dir_check_defaults(void);
55 
57 
58 #endif
void dir_set(enum rarch_dir_type type, const char *path)
Definition: dirs.c:260
size_t dir_get_size(enum rarch_dir_type type)
Definition: dirs.c:162
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
GLsizei const GLchar ** path
Definition: glext.h:7901
Definition: dirs.h:31
void dir_clear_all(void)
Definition: dirs.c:209
rarch_dir_type
Definition: dirs.h:24
void dir_clear(enum rarch_dir_type type)
Definition: dirs.c:185
Definition: dirs.h:30
Definition: dirs.h:27
GLenum type
Definition: glext.h:6233
Definition: dirs.h:29
const char * dir_get(enum rarch_dir_type type)
Definition: dirs.c:239
Definition: dirs.h:26
void dir_check_shader(bool pressed_next, bool pressed_prev)
Definition: dirs.c:109
char * dir_get_ptr(enum rarch_dir_type type)
Definition: dirs.c:218
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void dir_check_defaults(void)
Definition: dirs.c:306
bool dir_free_shader(void)
Definition: dirs.c:84
Definition: dirs.h:28
bool dir_is_empty(enum rarch_dir_type type)
Definition: dirs.c:139
bool dir_init_shader(void)
Definition: dirs.c:54