Some more boost::filesystem::path.
authorCarl Hetherington <cth@carlh.net>
Sat, 19 Oct 2013 13:42:30 +0000 (14:42 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 19 Oct 2013 13:42:30 +0000 (14:42 +0100)
src/asset.h
src/sound_asset.cc
src/sound_asset.h

index 34176d0dfa932661b10bd9967eb5de7429440011..dbe3deba6d34f13c9f8586fee77953e6b142d970 100644 (file)
@@ -87,11 +87,11 @@ public:
 
        boost::filesystem::path path () const;
 
-       void set_directory (std::string d) {
+       void set_directory (boost::filesystem::path d) {
                _directory = d;
        }
 
-       void set_file_name (std::string f) {
+       void set_file_name (boost::filesystem::path f) {
                _file_name = f;
        }
 
index 8f666ee60a1cb46ba8142726f59fa22d283b169c..70ed0f29cfb279e0a6daff9dc0326affdeac8728 100644 (file)
@@ -42,7 +42,7 @@ using boost::shared_ptr;
 using boost::lexical_cast;
 using namespace libdcp;
 
-SoundAsset::SoundAsset (boost::filesystem::path directory, string mxf_name)
+SoundAsset::SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name)
        : MXFAsset (directory, mxf_name)
        , _channels (0)
        , _sampling_rate (0)
index 67d3e445f2cfb26df6233727e75c491f57acc7ff..43587a9a09baab8112611cca5985cd0bbcab5739 100644 (file)
@@ -68,7 +68,7 @@ private:
 class SoundAsset : public MXFAsset
 {
 public:
-       SoundAsset (boost::filesystem::path directory, std::string mxf_name);
+       SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name);
 
        void read ();
        void create (std::vector<boost::filesystem::path> const & files);