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