ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Configurator.h
Revision: 227
Committed: 2003-07-30T17:56:29-07:00 (21 years, 11 months ago) by douglas
Content type: text/x-c
File size: 569 byte(s)
Log Message:
Thought about the meaning of life, added $Id$ tags.

File Contents

# User Rev Content
1 douglas 161 // Spectre Samba Mounter
2     //
3     // Douglas Thrift
4     //
5 douglas 227 // $Id: Configurator.h,v 1.8 2003/07/31 00:56:29 douglas Exp $
6 douglas 161
7     #ifndef _Configurator_h_
8     #define _Configurator_h_
9    
10     #include "Spectre.h"
11    
12     class Configurator
13     {
14     private:
15 douglas 176 bool configurate();
16 douglas 161 protected:
17 douglas 176 bool good;
18 douglas 161 string host;
19 douglas 162 enum Passwd {file, prompt};
20     vector<Passwd> passwd;
21 douglas 161 struct Folder
22     {
23     string local;
24     string remote;
25     };
26 douglas 163 Folder regular;
27 douglas 161 map<string, Folder> folders;
28 douglas 164 string password(const string& user);
29 douglas 161 public:
30     Configurator(const string& host);
31     virtual ~Configurator() {}
32     };
33    
34     #endif // _Configurator_h_