1 |
douglas |
161 |
// Spectre Samba Mounter |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// Configurator.h |
6 |
|
|
|
7 |
|
|
#ifndef _Configurator_h_ |
8 |
|
|
#define _Configurator_h_ |
9 |
|
|
|
10 |
|
|
#include "Spectre.h" |
11 |
|
|
|
12 |
|
|
class Configurator |
13 |
|
|
{ |
14 |
|
|
private: |
15 |
|
|
void configurate(); |
16 |
|
|
protected: |
17 |
|
|
string host; |
18 |
|
|
enum {file, prompt} passwd; |
19 |
|
|
struct Folder |
20 |
|
|
{ |
21 |
|
|
string local; |
22 |
|
|
string remote; |
23 |
|
|
}; |
24 |
|
|
Folder folder; |
25 |
|
|
map<string, Folder> folders; |
26 |
|
|
public: |
27 |
|
|
Configurator(const string& host); |
28 |
|
|
virtual ~Configurator() {} |
29 |
|
|
}; |
30 |
|
|
|
31 |
|
|
#endif // _Configurator_h_ |