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 486 by douglas, 2005-06-16T23:19:49-07:00 vs.
Revision 555 by douglas, 2005-07-10T21:18:35-07:00

# Line 7 | Line 7
7   #ifndef _MediaFile_hpp_
8   #define _MediaFile_hpp_
9  
10 < #include <menes/platform.hpp>
10 > #include <menes/c++/platform.hpp>
11  
12   #ifdef MENES_PRAGMA_ONCE
13   #pragma once
14   #endif
15  
16 < #include <menes-api/path.hpp>
17 < #include <menes-dbi/connection.hpp>
16 > #include <menes/api/path.hpp>
17  
18 < struct MediaFile
18 > #include "Connector.hpp"
19 >
20 > class MediaFile
21   {
22 <        mutable _H<dbi::Connection> connection;
22 > private:
23 >        mutable _R<Connector> connector;
24 > public:
25          api::Path path;
26 <        ext::String artist, title, album, genre;
27 <        MediaFile(_H<dbi::Connection>& connection, const api::Path& path);
28 <        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);
26 >        cse::String artist, title, album, genre;
27 >        MediaFile(const _R<Connector>& connector, const api::Path& path);
28 >        MediaFile(const _R<Connector>& connector, const api::Path& path, const cse::String& artist, const cse::String& title, const cse::String& album, const cse::String& genre, const api::Path& root);
29   };
30  
31   #endif//_MediaFile_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines