fix crash when copy'ing latent plugins
[ardour.git] / libs / ardour / directory_names.cc
index c368f8eaaf0e9a057d4ccef5a156149526fb1e47..5d138505fb107fd36f9e8349e0ff2b03ad36d708 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Paul Davis 
+    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
@@ -19,7 +19,7 @@
 
 #include "ardour/directory_names.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 namespace ARDOUR {
 
@@ -37,15 +37,13 @@ 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 ladspa_dir_name = X_("ladspa");
+const char* const theme_dir_name = X_("themes");
 const char* const panner_dir_name = X_("panners");
 const char* const backend_dir_name = X_("backends");
-
-char config_dir_name[] = X_(PROGRAM_NAME "3");
-#if defined (__APPLE__) || defined (PLATFORM_WINDOWS)
-const char* const user_config_dir_name = config_dir_name;
-#else
-#include "pbd/convert.h"
-const char* const user_config_dir_name = PBD::downcase (config_dir_name);
-#endif
+const char* const automation_dir_name = X_("automation");
+const char* const analysis_dir_name = X_("analysis");
+const char* const plugins_dir_name = X_("plugins");
+const char* const externals_dir_name = X_("externals");
+const char* const lua_dir_name = X_("scripts");
 
 }