~sil2100/mediascanner/rename_source_v2

« back to all changes in this revision

Viewing changes to src/mediascanner/MediaFile.hh

  • Committer: James Henstridge
  • Date: 2013-11-18 07:37:17 UTC
  • Revision ID: james@jamesh.id.au-20131118073717-p501wteyrwo3dl1d
Add a method to get a URI for a MediaFile instance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    void setDuration(int duration) noexcept;
54
54
    void setType(MediaType type) noexcept;
55
55
 
 
56
    std::string getUri() const;
 
57
 
56
58
private:
57
59
    std::string filename;
58
60
    std::string title;