diff options
Diffstat (limited to 'rbutil/installlog.h')
-rw-r--r-- | rbutil/installlog.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/rbutil/installlog.h b/rbutil/installlog.h deleted file mode 100644 index cb85e08359..0000000000 --- a/rbutil/installlog.h +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * Module: rbutil | ||
9 | * File: installlog.h | ||
10 | * | ||
11 | * Copyright (C) 2006 Christi Alice Scarborough | ||
12 | * | ||
13 | * All files in this archive are subject to the GNU General Public License. | ||
14 | * See the file COPYING in the source tree root for full license agreement. | ||
15 | * | ||
16 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
17 | * KIND, either express or implied. | ||
18 | * | ||
19 | ****************************************************************************/ | ||
20 | |||
21 | |||
22 | #ifndef INSTALLLOG_H_INCLUDED | ||
23 | #define INSTALLLOG_H_INCLUDED | ||
24 | |||
25 | #include <wx/wxprec.h> | ||
26 | #ifdef __BORLANDC__ | ||
27 | #pragma hdrstop | ||
28 | #endif | ||
29 | #ifndef WX_PRECOMP | ||
30 | #include <wx/wx.h> | ||
31 | #endif | ||
32 | |||
33 | #include <wx/confbase.h> | ||
34 | #include <wx/fileconf.h> | ||
35 | |||
36 | #define LOGFILE_VERSION 1 | ||
37 | #define DIRECTORY_KLUDGE "_DIRECTORY_MARKER_RECORD_KLUDGE_" | ||
38 | class InstallLog | ||
39 | { | ||
40 | // Class variables | ||
41 | wxFileConfig* logfile; | ||
42 | |||
43 | // Methods | ||
44 | public: | ||
45 | InstallLog(wxString logname, bool CreateLog = true); | ||
46 | ~InstallLog(); | ||
47 | unsigned int WriteFile(wxString filepath, bool isDir = false); | ||
48 | unsigned int WriteFile(wxArrayString filepaths); | ||
49 | wxArrayString* GetInstalledFiles(); | ||
50 | |||
51 | private: | ||
52 | bool dirtyflag; | ||
53 | wxArrayString workingAS; | ||
54 | // long dummy; | ||
55 | |||
56 | private: | ||
57 | void EnumerateCurDir(wxString curdir); | ||
58 | }; // InstallLog | ||
59 | |||
60 | |||
61 | #endif // INSTALLLOG_H_INCLUDED | ||