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 |
> |
#include <menes/dbi/connection.hpp> |
18 |
|
|
19 |
|
class MediaFile |
20 |
|
{ |
23 |
|
public: |
24 |
|
api::Path path; |
25 |
|
cse::String artist, title, album, genre; |
26 |
< |
MediaFile(_R<dbi::Connection>& connection, const api::Path& path); |
27 |
< |
MediaFile(_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); |
26 |
> |
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 |
|
}; |
29 |
|
|
30 |
|
#endif//_MediaFile_hpp_ |