15 |
|
|
16 |
|
#include <menes-api/process.hpp> |
17 |
|
#include <menes-waf/server.hpp> |
18 |
+ |
#include <menes-xml/nodeset.hpp> |
19 |
|
|
20 |
|
#include "BeepRemote.hpp" |
21 |
|
#include "MediaFolder.hpp" |
29 |
|
_H<api::Process> process; |
30 |
|
mutable _H<dbi::Connection> connection; |
31 |
|
const ext::RedBlackSet<ext::String>& extensions/*, shares*/; |
32 |
+ |
void Media(ios::Reader& media); |
33 |
+ |
void Media(const _H<xml::Node>& folder, const api::Path& path, const api::Path& root); |
34 |
|
int Destroy() { return process->Join(); } |
35 |
|
protected: |
36 |
|
virtual void Process(const net::Http::Request& request, net::Http::Response& response); |