Ardour  9.0-pre0-582-g084a23a80d
filesystem_paths.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2015 Tim Mayberry <mojofunk@gmail.com>
3  * Copyright (C) 2008-2015 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2009 David Robillard <d@drobilla.net>
5  * Copyright (C) 2014-2018 Robin Gareus <robin@gareus.org>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #ifndef ARDOUR_FILESYSTEM_PATHS_INCLUDED
23 #define ARDOUR_FILESYSTEM_PATHS_INCLUDED
24 
25 #include "pbd/search_path.h"
26 
28 
29 namespace ARDOUR {
30 
41  LIBARDOUR_API std::string user_config_directory (int version = -1);
42 
48  LIBARDOUR_API std::string user_cache_directory (int version = -1);
49 
57  LIBARDOUR_API std::string been_here_before_path (int version = -1);
58 
64 
70 
77 
78 #ifdef PLATFORM_WINDOWS
82  LIBARDOUR_API PBD::Searchpath windows_search_path ();
83 
89  LIBARDOUR_API std::string windows_package_directory_path ();
90 #endif
91 
92  namespace ArdourVideoToolPaths {
93 
94  LIBARDOUR_API bool harvid_exe (std::string &harvid_exe);
95  LIBARDOUR_API bool xjadeo_exe (std::string &xjadeo_exe);
96  LIBARDOUR_API bool transcoder_exe (std::string &ffmpeg_exe, std::string &ffprobe_exe);
97  };
98 
99 } // namespace ARDOUR
100 
101 #endif
#define LIBARDOUR_API
bool transcoder_exe(std::string &ffmpeg_exe, std::string &ffprobe_exe)
bool harvid_exe(std::string &harvid_exe)
bool xjadeo_exe(std::string &xjadeo_exe)
std::string ardour_dll_directory()
std::string been_here_before_path(int version=-1)
PBD::Searchpath ardour_data_search_path()
std::string user_config_directory(int version=-1)
PBD::Searchpath ardour_config_search_path()
std::string user_cache_directory(int version=-1)