2013-09-18 18:42:18 +02:00
|
|
|
#ifndef OSDEP_PATH_H
|
|
|
|
#define OSDEP_PATH_H
|
|
|
|
|
2014-06-19 01:55:40 +02:00
|
|
|
#define MAX_CONFIG_PATHS 32
|
|
|
|
|
2013-12-21 20:45:19 +01:00
|
|
|
struct mpv_global;
|
|
|
|
|
2014-06-19 01:55:40 +02:00
|
|
|
// Windows config directories
|
|
|
|
char *mp_get_win_exe_dir(void *talloc_ctx);
|
|
|
|
char *mp_get_win_exe_subdir(void *talloc_ctx);
|
|
|
|
char *mp_get_win_app_dir(void *talloc_ctx);
|
|
|
|
|
|
|
|
void mp_add_win_config_dirs(void *talloc_ctx, struct mpv_global *global,
|
|
|
|
char **dirs, int i);
|
2013-09-18 18:42:18 +02:00
|
|
|
|
2014-06-19 01:55:40 +02:00
|
|
|
// Returns Mac OS X application bundle directory.
|
|
|
|
char *mp_get_macosx_bundle_dir(void *talloc_ctx);
|
2013-09-18 19:26:26 +02:00
|
|
|
|
2013-09-18 18:42:18 +02:00
|
|
|
#endif
|