Revision: | 429 |
Committed: | 2005-03-25T18:47:25-08:00 (20 years, 2 months ago) by douglas |
File size: | 340 byte(s) |
Log Message: | Refactorizeify! Brought to you by ideas in the shower and riding home in my brother's 4Runner. |
# | User | Rev | Content |
---|---|---|---|
1 | douglas | 402 | // Spectre 2 |
2 | // | ||
3 | // Douglas Thrift | ||
4 | // | ||
5 | // $Id$ | ||
6 | |||
7 | #ifndef _Unmounter_hpp_ | ||
8 | #define _Unmounter_hpp_ | ||
9 | |||
10 | douglas | 428 | #include "Share.hpp" |
11 | douglas | 402 | |
12 | #ifdef MENES_PRAGMA_ONCE | ||
13 | #pragma once | ||
14 | #endif | ||
15 | |||
16 | douglas | 429 | struct Unmounter |
17 | douglas | 402 | { |
18 | douglas | 429 | static bool workable(const Share& share) { return share.mounted() && !share.mountable(); } |
19 | static int work(const Share& share); | ||
20 | douglas | 402 | }; |
21 | |||
22 | douglas | 428 | #endif//_Unmounter_hpp_ |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id |