1 |
// Media File |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _MediaFile_hpp_ |
8 |
#define _MediaFile_hpp_ |
9 |
|
10 |
#include <cxx/platform.hpp> |
11 |
|
12 |
#ifdef MENES_PRAGMA_ONCE |
13 |
#pragma once |
14 |
#endif |
15 |
|
16 |
#include <api/path.hpp> |
17 |
|
18 |
#include "Connector.hpp" |
19 |
|
20 |
class MediaFile |
21 |
{ |
22 |
private: |
23 |
mutable _R<Connector> connector; |
24 |
public: |
25 |
api::Path path; |
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_ |