1 |
// Spectre Samba Mounter |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id: Mounter.h,v 1.6 2003/07/31 04:14:12 douglas Exp $ |
6 |
|
7 |
#ifndef _Mounter_h_ |
8 |
#define _Mounter_h_ |
9 |
|
10 |
#include "Configurator.h" |
11 |
|
12 |
class Mounter : public Configurator |
13 |
{ |
14 |
private: |
15 |
void samba(ipstream& pin); |
16 |
void mount(const string& folder, const string& user, const string& owner); |
17 |
protected: |
18 |
set<string> mounted; |
19 |
void samba(); |
20 |
public: |
21 |
Mounter(const string& host) : Configurator(host) {} |
22 |
~Mounter() {} |
23 |
void mount(); |
24 |
}; |
25 |
|
26 |
#endif // _Mounter_h_ |