ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Spectre2/Mounter.cpp
(Generate patch)

Comparing Spectre2/Mounter.cpp (file contents):
Revision 402 by douglas, 2004-12-29T22:38:37-08:00 vs.
Revision 429 by douglas, 2005-03-25T18:47:25-08:00

# Line 6 | Line 6
6  
7   #include "Mounter.hpp"
8  
9 < Mounter::Mounter(const ext::String& config) : Daemon(/*dynamic_cast<Daemon*>(this)*/), config(config)
9 > int Mounter::work(const Share& share)
10   {
11 <        api::Cerr << "Mounter.this = " << this << ios::NewLine;
12 < }
11 >        api::Cout << "STUB: mount " << share << ios::NewLine;
12  
13 < void Mounter::load()
15 < {
16 <        api::Cerr << "Mounter::load()" << ios::NewLine;
17 <        
18 <        loaded = true;
19 < }
20 <
21 < void Mounter::run()
22 < {
23 <        api::Cerr << "Mounter::run()" << ios::NewLine;
13 >        ::sleep(5);
14  
15 <        running = false;
15 >        return 0;
16   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines