ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Spectre.cpp
Revision: 154
Committed: 2003-06-08T23:37:49-07:00 (22 years ago) by douglas
File size: 679 byte(s)
Log Message:
Yes, that!

File Contents

# Content
1 // Spectre Samba Mounter
2 //
3 // Douglas Thrift
4 //
5 // Spectre.cpp
6
7 #include "Spectre.h"
8 #include "Maker.h"
9 #include "Mounter.h"
10
11 string program;
12 string programName = "Spectre Samba Mounter";
13 string programVersion = "1.0alpha";
14 bool debug = false;
15
16 Config config;
17
18 int main(int argc, char* argv[])
19 {
20 program = argv[0];
21
22 #include "configure.h"
23
24 for (int index = 1; index < argc; index++)
25 {
26 string arg = argv[index];
27
28 if (arg == "-help")
29 {
30 //
31 return 0;
32 }
33 else if (arg == "-version")
34 {
35 //
36 return 0;
37 }
38 else if (arg == "-make")
39 {
40 //
41 }
42 else if (arg == "-mount")
43 {
44 //
45 }
46 else if (arg == "-D")
47 {
48 debug = true;
49 }
50 }
51
52 //
53
54 return 0;
55 }