1 |
douglas |
688 |
// File System |
2 |
|
|
// |
3 |
douglas |
686 |
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#ifndef _FileSystem_hpp_ |
8 |
|
|
#define _FileSystem_hpp_ |
9 |
|
|
|
10 |
|
|
#include <cxx/platform.hpp> |
11 |
|
|
|
12 |
|
|
#ifdef MENES_PRAGMA_ONCE |
13 |
|
|
#pragma once |
14 |
|
|
#endif |
15 |
|
|
|
16 |
|
|
#include "Command.hpp" |
17 |
|
|
|
18 |
|
|
struct FileSystemCommand : public Command |
19 |
|
|
{ |
20 |
douglas |
688 |
FileSystemCommand(const cse::String &root) : Command(root) {} |
21 |
douglas |
686 |
}; |
22 |
|
|
|
23 |
douglas |
688 |
class FileSystem : public CommandRunner |
24 |
douglas |
686 |
{ |
25 |
douglas |
688 |
public: |
26 |
|
|
FileSystem(const cse::String &sitemap, const cse::String &base, std::queue<Url> &queue, api::ThreadMutex &queueLock, const _R<FileSystemCommand> &command); |
27 |
douglas |
686 |
}; |
28 |
|
|
|
29 |
|
|
#endif//_FileSystem_hpp_ |