From 7e7d053f53585bc9a38a646fbdd16db363bf78e9 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 23 Jun 2012 05:07:00 +0000 Subject: Replace use of PBD::sys::path in ExportProfileManager git-svn-id: svn://localhost/ardour2/branches/3.0@12831 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/export_profile_manager.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libs/ardour/ardour/export_profile_manager.h') diff --git a/libs/ardour/ardour/export_profile_manager.h b/libs/ardour/ardour/export_profile_manager.h index 0b8f7e9422..31e93a5b89 100644 --- a/libs/ardour/ardour/export_profile_manager.h +++ b/libs/ardour/ardour/export_profile_manager.h @@ -32,7 +32,6 @@ #include "pbd/uuid.h" #include "pbd/file_utils.h" #include "pbd/xml++.h" -#include "pbd/filesystem.h" #include "ardour/filesystem_paths.h" #include "ardour/location.h" @@ -68,8 +67,8 @@ class ExportProfileManager private: typedef boost::shared_ptr HandlerPtr; - typedef std::pair FilePair; - typedef std::map FileMap; + typedef std::pair FilePair; + typedef std::map FileMap; std::string const xml_node_name; HandlerPtr handler; @@ -77,7 +76,7 @@ class ExportProfileManager std::string preset_filename (std::string const & preset_name); void load_presets (); - void load_preset_from_disk (PBD::sys::path const & path); + void load_preset_from_disk (std::string const & path); bool set_state (XMLNode const & root); bool set_global_state (XMLNode const & root); @@ -93,7 +92,7 @@ class ExportProfileManager std::vector find_file (std::string const & pattern); - PBD::sys::path export_config_dir; + std::string export_config_dir; PBD::SearchPath search_path; /* Timespans */ @@ -196,7 +195,7 @@ class ExportProfileManager FormatStatePtr duplicate_format_state (FormatStatePtr state); void remove_format_state (FormatStatePtr state); - PBD::sys::path save_format_to_disk (ExportFormatSpecPtr format); + std::string save_format_to_disk (ExportFormatSpecPtr format); void remove_format_profile (ExportFormatSpecPtr format); ExportFormatSpecPtr get_new_format (ExportFormatSpecPtr original); @@ -213,7 +212,7 @@ class ExportProfileManager void load_formats (); ExportFormatSpecPtr load_format (XMLNode & node); - void load_format_from_disk (PBD::sys::path const & path); + void load_format_from_disk (std::string const & path); boost::shared_ptr format_list; FileMap format_file_map; -- cgit v1.2.3