Revision: | 172 |
Committed: | 2003-06-28T21:08:05-07:00 (21 years, 11 months ago) by douglas |
Content type: | text/x-c |
Original Path: | trunk/Spectre/Mounter.h |
File size: | 436 byte(s) |
Log Message: | Did some more work on Mounter, almost finished. |
# | User | Rev | Content |
---|---|---|---|
1 | douglas | 161 | // Spectre Samba Mounter |
2 | // | ||
3 | // Douglas Thrift | ||
4 | // | ||
5 | // Mounter.h | ||
6 | |||
7 | #ifndef _Mounter_h_ | ||
8 | #define _Mounter_h_ | ||
9 | |||
10 | #include "Configurator.h" | ||
11 | |||
12 | class Mounter : public Configurator | ||
13 | { | ||
14 | private: | ||
15 | douglas | 171 | set<string> mounted; |
16 | void samba(); | ||
17 | void samba(ipstream& pin); | ||
18 | douglas | 172 | void mount(const string& folder, const string& user, const string& owner); |
19 | douglas | 161 | public: |
20 | Mounter(const string& host) : Configurator(host) {} | ||
21 | ~Mounter() {} | ||
22 | void mount(); | ||
23 | }; | ||
24 | |||
25 | #endif // _Mounter_h_ |