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 476 by douglas, 2005-06-08T13:41:10-07:00 vs.
Revision 488 by douglas, 2005-06-17T00:21:30-07:00

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines