ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/MediaFile.hpp
Revision: 486
Committed: 2005-06-16T23:19:49-07:00 (20 years ago) by douglas
File size: 628 byte(s)
Log Message:
Die!

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 479 #include <menes-api/path.hpp>
17 douglas 485 #include <menes-dbi/connection.hpp>
18 douglas 475
19 douglas 476 struct MediaFile
20 douglas 475 {
21 douglas 486 mutable _H<dbi::Connection> connection;
22 douglas 479 api::Path path;
23     ext::String artist, title, album, genre;
24 douglas 485 MediaFile(_H<dbi::Connection>& connection, const api::Path& path);
25     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 douglas 475 };
27    
28     #endif//_MediaFile_hpp_

Properties

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