ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/Command.hpp
(Generate patch)

Comparing GoogleTron/Command.hpp (file contents):
Revision 687 by douglas, 2006-03-06T17:40:59-08:00 vs.
Revision 688 by douglas, 2006-03-07T02:05:22-08:00

# Line 1 | Line 1
1 // Douglas Thrift
2 //
1   // Command
2   //
3 + // Douglas Thrift
4 + //
5   // $Id$
6  
7   #ifndef _Command_hpp_
# Line 19 | Line 19
19  
20   #include "Url.hpp"
21  
22 < class Command : public ext::ReferenceCounted {};
22 > struct Command : public ext::ReferenceCounted {
23 >        const cse::String root;
24 > protected:
25 >        Command(const cse::String &root) : root(root) {}
26 > };
27  
28   class CommandRunner
29   {
30   protected:
31          const cse::String &sitemap;
32 +        const cse::String &base;
33          std::queue<Url> &queue;
34          api::ThreadMutex &queueLock;
35 <        CommandRunner(const cse::String &sitemap, std::queue<Url> &queue, api::ThreadMutex &queueLock) : sitemap(sitemap), queue(queue), queueLock(queueLock) {}
35 >        CommandRunner(const cse::String &sitemap, const cse::String &base, std::queue<Url> &queue, api::ThreadMutex &queueLock) : sitemap(sitemap), base(base), queue(queue), queueLock(queueLock) {}
36   };
37  
38   #endif//_Command_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines