ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/MediaFile.hpp
Revision: 549
Committed: 2005-07-04T21:28:02-07:00 (19 years, 11 months ago) by douglas
File size: 679 byte(s)
Log Message:
WTF!

File Contents

# User Rev Content
1 douglas 475 // Media File
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #ifndef _MediaFile_hpp_
8     #define _MediaFile_hpp_
9    
10     #include <menes/platform.hpp>
11    
12     #ifdef MENES_PRAGMA_ONCE
13     #pragma once
14     #endif
15    
16 douglas 549 #include <menes/api/path.hpp>
17     #include <menes/dbi/connection.hpp>
18 douglas 475
19 douglas 488 class MediaFile
20 douglas 475 {
21 douglas 488 private:
22 douglas 541 mutable _R<dbi::Connection> connection;
23 douglas 488 public:
24 douglas 479 api::Path path;
25 douglas 534 cse::String artist, title, album, genre;
26 douglas 542 MediaFile(const _R<dbi::Connection>& connection, const api::Path& path);
27     MediaFile(const _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 douglas 475 };
29    
30     #endif//_MediaFile_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id