1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (C) 2006 Christi Alice Scarborough
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.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
22 #ifndef INSTALLLOG_H_INCLUDED
23 #define INSTALLLOG_H_INCLUDED
25 #include <wx/wxprec.h>
33 #include <wx/confbase.h>
34 #include <wx/fileconf.h>
36 #define LOGFILE_VERSION 1
37 #define DIRECTORY_KLUDGE "_DIRECTORY_MARKER_RECORD_KLUDGE_"
41 wxFileConfig
* logfile
;
45 InstallLog(wxString logname
, bool CreateLog
= true);
47 unsigned int WriteFile(wxString filepath
, bool isDir
= false);
48 unsigned int WriteFile(wxArrayString filepaths
);
49 wxArrayString
* GetInstalledFiles();
53 wxArrayString workingAS
;
57 void EnumerateCurDir(wxString curdir
);
61 #endif // INSTALLLOG_H_INCLUDED