1 |
douglas |
476 |
// Media Folder |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#ifndef _MediaFolder_hpp_ |
8 |
|
|
#define _MediaFolder_hpp_ |
9 |
|
|
|
10 |
|
|
#include <menes/platform.hpp> |
11 |
|
|
|
12 |
|
|
#ifdef MENES_PRAGMA_ONCE |
13 |
|
|
#pragma once |
14 |
|
|
#endif |
15 |
|
|
|
16 |
douglas |
478 |
#include <menes-api/path.hpp> |
17 |
douglas |
476 |
|
18 |
|
|
#include "MediaFile.hpp" |
19 |
|
|
|
20 |
douglas |
478 |
struct MediaFolder |
21 |
douglas |
476 |
{ |
22 |
douglas |
478 |
api::Path path; |
23 |
|
|
MediaFolder(const api::Path& path); |
24 |
|
|
MediaFolder(const api::Path& path, const _L<MediaFile>& files); |
25 |
|
|
_L<MediaFile> GetFiles() const; |
26 |
|
|
_L<MediaFolder> GetFolders() const; |
27 |
|
|
void SetFolders(const _L<MediaFolder>& folders); |
28 |
douglas |
476 |
}; |
29 |
|
|
|
30 |
|
|
#endif//_MediaFolder_hpp_ |