summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/midi_patch_search_path.h39
-rw-r--r--libs/ardour/ardour/search_paths.h11
2 files changed, 11 insertions, 39 deletions
diff --git a/libs/ardour/ardour/midi_patch_search_path.h b/libs/ardour/ardour/midi_patch_search_path.h
deleted file mode 100644
index 168e75af4a..0000000000
--- a/libs/ardour/ardour/midi_patch_search_path.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- Copyright (C) 2011 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.
-*/
-
-#ifndef __ardour_midi_patch_search_path_h__
-#define __ardour_midi_patch_search_path_h__
-
-#include "pbd/search_path.h"
-
-namespace ARDOUR {
-
- /**
- * return a Searchpath containing directories in which to look for
- * MIDI patch files ("*.midnam") aka MIDNAM files
- *
- * If ARDOUR_MIDI_PATCH_PATH is defined then the Searchpath returned
- * will contain only those directories specified in it, otherwise it will
- * contain the user and system directories which may contain control
- * surface plugins.
- */
- PBD::Searchpath midi_patch_search_path ();
-
-} // namespace ARDOUR
-
-#endif /* __ardour_midi_patch_search_path_h__ */
diff --git a/libs/ardour/ardour/search_paths.h b/libs/ardour/ardour/search_paths.h
index 9deaecddff..808d33ae2a 100644
--- a/libs/ardour/ardour/search_paths.h
+++ b/libs/ardour/ardour/search_paths.h
@@ -69,6 +69,17 @@ namespace ARDOUR {
*/
LIBARDOUR_API PBD::Searchpath lv2_bundled_search_path ();
+ /**
+ * return a Searchpath containing directories in which to look for
+ * MIDI patch files ("*.midnam") aka MIDNAM files
+ *
+ * If ARDOUR_MIDI_PATCH_PATH is defined then the Searchpath returned
+ * will contain only those directories specified in it, otherwise it will
+ * contain the user and system directories which may contain control
+ * surface plugins.
+ */
+ LIBARDOUR_API PBD::Searchpath midi_patch_search_path ();
+
} // namespace ARDOUR
#endif /* __libardour_search_paths_h__ */