Create 'libs/ardour/search_paths.cc/.h' and transfer backend_search_path() to it

This commit is contained in:
John Emmas
2014-03-10 13:47:00 +00:00
parent 72965e411f
commit 06fe0a5172
4 changed files with 12 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
/*
Copyright (C) 2011 Paul Davis
Copyright (C) 2011 Tim Mayberry
Copyright (C) 2013 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
@@ -14,10 +15,11 @@
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_backend_search_path_h__
#define __ardour_backend_search_path_h__
#ifndef __libardour_search_paths_h__
#define __libardour_search_paths_h__
#include "pbd/search_path.h"
@@ -32,8 +34,8 @@ namespace ARDOUR {
* contain the user and system directories which may contain audio/MIDI
* backends.
*/
PBD::Searchpath backend_search_path ();
LIBARDOUR_API PBD::Searchpath backend_search_path ();
} // namespace ARDOUR
#endif /* __ardour_backend_search_path_h__ */
#endif /* __libardour_search_paths_h__ */

View File

@@ -41,7 +41,7 @@
#include "ardour/audio_port.h"
#include "ardour/audio_backend.h"
#include "ardour/audioengine.h"
#include "ardour/backend_search_path.h"
#include "ardour/search_paths.h"
#include "ardour/buffer.h"
#include "ardour/cycle_timer.h"
#include "ardour/internal_send.h"

View File

@@ -1,5 +1,6 @@
/*
Copyright (C) 2013 Paul Davis
Copyright (C) 2011 Tim Mayberry
Copyright (C) 2013 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 +20,7 @@
#include <glibmm/miscutils.h>
#include "ardour/backend_search_path.h"
#include "ardour/search_paths.h"
#include "ardour/directory_names.h"
#include "ardour/filesystem_paths.h"

View File

@@ -2,7 +2,7 @@
#include "ardour/audioengine.h"
#include "ardour/audio_backend.h"
#include "ardour/backend_search_path.h"
#include "ardour/search_paths.h"
#include "audio_engine_test.h"
#include "test_common.h"