1 |
// Douglas Thrift |
2 |
// |
3 |
// File System |
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 <queue> |
17 |
|
18 |
#include "Command.hpp" |
19 |
|
20 |
struct FileSystemCommand : public Command |
21 |
{ |
22 |
cse::String root; |
23 |
FileSystemCommand(const cse::String &root) : root(root) {} |
24 |
}; |
25 |
|
26 |
struct FileSystem : public CommandRunner |
27 |
{ |
28 |
FileSystem(const cse::String &sitemap, std::queue<Url> &queue, api::ThreadMutex &queueLock, const _R<FileSystemCommand> &command); |
29 |
}; |
30 |
|
31 |
#endif//_FileSystem_hpp_ |