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

File Contents

# Content
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_