ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/MediaFile.hpp
(Generate patch)

Comparing DecentralizedMedia/MediaFile.hpp (file contents):
Revision 479 by douglas, 2005-06-08T23:38:05-07:00 vs.
Revision 540 by douglas, 2005-07-01T23:56:04-07:00

# Line 14 | Line 14
14   #endif
15  
16   #include <menes-api/path.hpp>
17 + #include <menes-dbi/connection.hpp>
18  
19 < struct MediaFile
19 > class MediaFile
20   {
21 + private:
22 +        mutable _P<dbi::Connection> connection;
23 + public:
24          api::Path path;
25 <        ext::String artist, title, album, genre;
26 <        MediaFile(const api::Path& path);
27 <        MediaFile(const api::Path& path, const ext::String& artist, const ext::String& title, const ext::String& album, const ext::String& genre);
25 >        cse::String artist, title, album, genre;
26 >        MediaFile(_P<dbi::Connection>& connection, const api::Path& path);
27 >        MediaFile(_P<dbi::Connection>& connection, const api::Path& path, const cse::String& artist, const cse::String& title, const cse::String& album, const cse::String& genre, const api::Path& root);
28   };
29  
30   #endif//_MediaFile_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines