source: trunk/gsinstaller/gsManifest.h@ 1397

Last change on this file since 1397 was 1397, checked in by cs025, 24 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 955 bytes
Line 
1#ifndef _GSMANIFEST_H_
2#define _GSMANIFEST_H_
3#include <map>
4using namespace std;
5
6#include "File.h"
7#include "FilePath.h"
8#include "stringArray.h"
9
10typedef map<FilePath, stringArray, less<FilePath> > pathStringArrayMap;
11
12class gsManifest
13{ private:
14 protected:
15 strArrayMap manifests;
16 pathStringArrayMap selected;
17 public:
18 gsManifest(FilePath &path);
19 bool getManifest(FilePath &path);
20 bool getManifestLine(char *line, string &macro);
21 void expandGroupInstance(string parent, string child);
22 void expandGroup(string &group);
23 void expandGroups();
24 bool isGroup(string &name);
25 void expandMacro(string macroName, string value);
26 void clearSelection();
27 bool copy(FilePath *source);
28 void selectGroup(string &groupName, FilePath &destination);
29 FileVector *selection(stringArray &array);
30 FileVector *selection(FilePath &destination);
31 bool selectCheckSpace();
32};
33#endif;
Note: See TracBrowser for help on using the repository browser.