summaryrefslogtreecommitdiff
path: root/libs/ardour/vst_info_file.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-03-14 20:18:02 +0100
committerRobin Gareus <robin@gareus.org>2014-03-14 20:18:24 +0100
commit2721242f772e5dd3f6725fb819ba693de39303b3 (patch)
tree5c48a80011ba21fff0dee801a6eedf770e25d48f /libs/ardour/vst_info_file.cc
parentf05fe6a3fbbab16bfd17f419a8a7b1cd349a8d89 (diff)
comment libardour functions that are not used in external scanner.
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r--libs/ardour/vst_info_file.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index a0426edad1..b005190e8f 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -125,12 +125,13 @@ vstfx_infofile_path (const char* dllpath, int personal)
return vstfx_cache_file(dllpath, personal, EXT_INFOFILE);
}
+#ifndef VST_SCANNER_APP
static string
vstfx_errorfile_path (const char* dllpath, int personal)
{
return vstfx_cache_file(dllpath, personal, EXT_ERRORFILE);
}
-
+#endif
/* *** MEMORY MANAGEMENT *** */
@@ -406,6 +407,7 @@ vstfx_un_blacklist (const char *dllpath)
::g_unlink(vstfx_blacklist_path (dllpath, 1).c_str());
}
+#ifndef VST_SCANNER_APP
/** remove info file from cache */
static void
vstfx_remove_infofile (const char *dllpath)
@@ -413,6 +415,7 @@ vstfx_remove_infofile (const char *dllpath)
::g_unlink(vstfx_infofile_path (dllpath, 0).c_str());
::g_unlink(vstfx_infofile_path (dllpath, 1).c_str());
}
+#endif
/** helper function, check if cache is newer than plugin
* @return path to cache file */