ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Mounter.hpp
Revision: 228
Committed: 2003-07-30T21:14:12-07:00 (21 years, 11 months ago) by douglas
Content type: text/x-c
Original Path: trunk/Spectre/Mounter.h
File size: 492 byte(s)
Log Message:
Made Unmounter and made autounmount work. I like cheese.

File Contents

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