26 |
|
private: |
27 |
|
_H<api::Thread> block; |
28 |
|
_H<api::Process> process; |
29 |
< |
_H<dbi::Connection> connection; |
30 |
< |
const _L<ext::String>& extensions; |
31 |
< |
ext::RedBlackSet<ext::String> shares; |
29 |
> |
mutable _H<dbi::Connection> connection; |
30 |
> |
const ext::RedBlackSet<ext::String>& extensions, shares; |
31 |
|
int Destroy() { return process->Join(); } |
32 |
|
protected: |
33 |
|
virtual void Process(const net::Http::Request& request, net::Http::Response& response); |
34 |
|
public: |
35 |
< |
DecentralizedMedia(const _L<ext::String>& extensions, const _L<ext::String>& locals); |
35 |
> |
DecentralizedMedia(const ext::RedBlackSet<ext::String>& extensions, const ext::RedBlackSet<ext::String>& locals); |
36 |
|
virtual ~DecentralizedMedia(); |
37 |
< |
const ext::RedBlackSet<ext::String>& GetMedia() const; |
37 |
> |
_L<ext::String> GetArtists() const; |
38 |
> |
_L<ext::String> GetTitles() const; |
39 |
> |
_L<ext::String> GetAlbums() const; |
40 |
> |
_L<ext::String> GetGenres() const; |
41 |
> |
_L<MediaFolders> GetFolders() const; |
42 |
|
}; |
43 |
|
|
44 |
|
#endif//_DecentralizedMedia_hpp_ |