X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fdirectory_names.cc;h=f01c024435a67d10dde70763c081222882b982e0;hb=142439b9a847a15911be200e657eec0222aba2a7;hp=2b6dfcbb39645aa41fb58c15bf71d0b8506c9c88;hpb=794917fca7c516cbe287f5aa2ec7c1dbf058089a;p=ardour.git diff --git a/libs/ardour/directory_names.cc b/libs/ardour/directory_names.cc index 2b6dfcbb39..f01c024435 100644 --- a/libs/ardour/directory_names.cc +++ b/libs/ardour/directory_names.cc @@ -1,4 +1,23 @@ -#include +/* + Copyright (C) 2012 Paul Davis + + This program 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 Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "ardour/directory_names.h" #include "i18n.h" @@ -7,13 +26,25 @@ namespace ARDOUR { const char* const old_sound_dir_name = X_("sounds"); const char* const sound_dir_name = X_("audiofiles"); const char* const midi_dir_name = X_("midifiles"); +const char* const midi_patch_dir_name = X_("patchfiles"); +const char* const video_dir_name = X_("videofiles"); const char* const peak_dir_name = X_("peaks"); -const char* const dead_sound_dir_name = X_("dead_sounds"); -const char* const dead_midi_dir_name = X_("dead_midi"); +const char* const dead_dir_name = X_("dead"); const char* const interchange_dir_name = X_("interchange"); const char* const export_dir_name = X_("export"); +const char* const export_formats_dir_name = X_("export"); const char* const templates_dir_name = X_("templates"); +const char* const route_templates_dir_name = X_("route_templates"); const char* const surfaces_dir_name = X_("surfaces"); -const char* const user_config_dir_name = X_(".ardour3"); +const char* const ladspa_dir_name = X_("ladspa"); +const char* const panner_dir_name = X_("panners"); +const char* const backend_dir_name = X_("backends"); + +/* these should end up using variants of PROGRAM_NAME */ +#ifdef __APPLE__ +const char* const user_config_dir_name = X_("Ardour" "3"); +#else +const char* const user_config_dir_name = X_("ardour" "3"); +#endif }