X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fdirectory_names.cc;h=0632c6f8f25c6534bf8db83bf22d63616c550afd;hb=ef0c4ed0e6907ff7cc0c9f139495619a9f242ff5;hp=571600670c8cc1fca659ee029160e0452e3e4b48;hpb=483a88d54e11dc612d8ebf6b8f8c830650cec77e;p=ardour.git diff --git a/libs/ardour/directory_names.cc b/libs/ardour/directory_names.cc index 571600670c..0632c6f8f2 100644 --- a/libs/ardour/directory_names.cc +++ b/libs/ardour/directory_names.cc @@ -1,3 +1,22 @@ +/* + 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" @@ -8,6 +27,7 @@ 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_dir_name = X_("dead"); const char* const interchange_dir_name = X_("interchange"); @@ -16,7 +36,13 @@ 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 panner_dir_name = X_("panners"); +/* 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 + }