// Google Tron // // Douglas Thrift // // $Id$ #ifndef _GoogleTron_hpp_ #define _GoogleTron_hpp_ #include #ifdef MENES_PRAGMA_ONCE #pragma once #endif #include #include #include "FileSystem.hpp" #include "Blog.hpp" #include "Wiki.hpp" class GoogleTron { volatile bool working; const cse::String &sitemap, &base; ext::Queue queue; api::ThreadMutex queueLock; _S output; mta::ThreadSet<> threads; int Output(); int FileSystem_(const _R &command); int Blog_(const _R &command); int Wiki_(const _R &command); public: GoogleTron(const cse::String &sitemap, const cse::String &base, const _L<_R > &commands); ~GoogleTron(); }; #endif//_GoogleTron_hpp_