diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:07:00 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:07:00 +0000 |
commit | 7e7d053f53585bc9a38a646fbdd16db363bf78e9 (patch) | |
tree | 22061141b9fa55412824a6ad2a95dd8595e94d03 /libs/ardour/ardour/export_profile_manager.h | |
parent | 33f63bd09ce7a78e3f2d783c9ace6a0bf29a807c (diff) |
Replace use of PBD::sys::path in ExportProfileManager
git-svn-id: svn://localhost/ardour2/branches/3.0@12831 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_profile_manager.h')
-rw-r--r-- | libs/ardour/ardour/export_profile_manager.h | 13 |
1 files changed, 6 insertions, 7 deletions
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<ExportHandler> HandlerPtr; - typedef std::pair<PBD::UUID, PBD::sys::path> FilePair; - typedef std::map<PBD::UUID, PBD::sys::path> FileMap; + typedef std::pair<PBD::UUID, std::string> FilePair; + typedef std::map<PBD::UUID, std::string> 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<std::string> 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<FormatList> format_list; FileMap format_file_map; |