1 |
// Blog |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _Blog_hpp_ |
8 |
#define _Blog_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 BlogCommand : public Command |
19 |
{ |
20 |
BlogCommand(const cse::String &root) : Command(root) {} |
21 |
}; |
22 |
|
23 |
class Blog : public CommandRunner |
24 |
{ |
25 |
void Entries(const api::Path &directory, const cse::String &base); |
26 |
public: |
27 |
Blog(const cse::String &sitemap, const cse::String &base, ext::Queue<Url> &queue, api::ThreadMutex &queueLock, const _R<BlogCommand> &command); |
28 |
}; |
29 |
|
30 |
#endif//_Blog_hpp_ |