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 478 by douglas, 2005-06-08T17:16:59-07:00 vs.
Revision 541 by douglas, 2005-07-02T18:26:58-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, artist, title, album, genre;
22 <        MediaFile(const ext::String& name);
23 <        MediaFile(const ext::String& name, const ext::String& artist, const ext::String& title, const ext::String& album, const ext::String& genre);
21 > private:
22 >        mutable _R<dbi::Connection> connection;
23 > public:
24 >        api::Path path;
25 >        cse::String artist, title, album, genre;
26 >        MediaFile(_R<dbi::Connection>& connection, const api::Path& path);
27 >        MediaFile(_R<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