Revision: | 228 |
Committed: | 2003-07-30T21:14:12-07:00 (21 years, 11 months ago) by douglas |
Content type: | text/x-c |
Original Path: | trunk/Spectre/Unmounter.h |
File size: | 374 byte(s) |
Log Message: | Made Unmounter and made autounmount work. I like cheese. |
# | User | Rev | Content |
---|---|---|---|
1 | douglas | 227 | // Spectre Samba Mounter |
2 | // | ||
3 | // Douglas Thrift | ||
4 | // | ||
5 | douglas | 228 | // $Id: Unmounter.h,v 1.2 2003/07/31 04:14:12 douglas Exp $ |
6 | douglas | 227 | |
7 | #ifndef _Unmounter_h_ | ||
8 | #define _Unmounter_h_ | ||
9 | |||
10 | douglas | 228 | #include "Mounter.h" |
11 | douglas | 227 | |
12 | douglas | 228 | class Unmounter : public Mounter |
13 | douglas | 227 | { |
14 | private: | ||
15 | void unmount(const string& folder); | ||
16 | public: | ||
17 | douglas | 228 | Unmounter(const string& host) : Mounter(host) {} |
18 | douglas | 227 | ~Unmounter() {} |
19 | void unmount(); | ||
20 | }; | ||
21 | |||
22 | #endif // _Mounter_ |