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

Comparing Spectre2/Unmounter.hpp (file contents):
Revision 428 by douglas, 2005-03-24T17:38:00-08:00 vs.
Revision 429 by douglas, 2005-03-25T18:47:25-08:00

# Line 7 | Line 7
7   #ifndef _Unmounter_hpp_
8   #define _Unmounter_hpp_
9  
10 #include "Daemon.hpp"
10   #include "Share.hpp"
11  
12   #ifdef MENES_PRAGMA_ONCE
13   #pragma once
14   #endif
15  
16 < class Unmounter : public Daemon
16 > struct Unmounter
17   {
18 < private:
19 <        const api::Path& config;
21 <        virtual void load();
22 <        virtual void run();
23 < public:
24 <        Unmounter(const api::Path& config);
18 >        static bool workable(const Share& share) { return share.mounted() && !share.mountable(); }
19 >        static int work(const Share& share);
20   };
21  
22   #endif//_Unmounter_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines