1 |
douglas |
161 |
// Spectre Samba Mounter |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// Maker.h |
6 |
|
|
|
7 |
|
|
#ifndef _Maker_h_ |
8 |
|
|
#define _Maker_h_ |
9 |
|
|
|
10 |
|
|
#include "Configurator.h" |
11 |
|
|
|
12 |
|
|
class Maker : public Configurator |
13 |
|
|
{ |
14 |
|
|
private: |
15 |
douglas |
165 |
void samba(); |
16 |
douglas |
169 |
bool connect(ipstream& pin); |
17 |
|
|
void samba(ipstream& pin); |
18 |
|
|
void strip(char* name); |
19 |
douglas |
165 |
void make(const string& folder, const string& owner); |
20 |
douglas |
161 |
public: |
21 |
|
|
Maker(const string& host) : Configurator(host) {} |
22 |
|
|
~Maker() {} |
23 |
|
|
void make(); |
24 |
|
|
}; |
25 |
|
|
|
26 |
|
|
#endif // _Maker_h_ |