diff src/win32/WinMiscUtil.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/WinMiscUtil.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,45 @@
     1.4 +#ifndef VBA_WIN32_WINMISCUTIL_H
     1.5 +#define VBA_WIN32_WINMISCUTIL_H
     1.6 +
     1.7 +#if _MSC_VER > 1000
     1.8 +#pragma once
     1.9 +#endif // _MSC_VER > 1000
    1.10 +
    1.11 +extern const char IDS_ROM_DIR[];
    1.12 +extern const char IDS_GBXROM_DIR[];
    1.13 +extern const char IDS_BATTERY_DIR[];
    1.14 +extern const char IDS_SAVE_DIR[];
    1.15 +extern const char IDS_MOVIE_DIR[];
    1.16 +extern const char IDS_CHEAT_DIR[];
    1.17 +extern const char IDS_LUA_DIR[];
    1.18 +extern const char IDS_IPS_DIR[];
    1.19 +extern const char IDS_AVI_DIR[];
    1.20 +extern const char IDS_WAV_DIR[];
    1.21 +extern const char IDS_CAPTURE_DIR[];
    1.22 +extern const char IDS_WATCH_DIR[];
    1.23 +
    1.24 +extern bool winFileExists(const CString &filename);
    1.25 +extern bool winIsDriveRoot(const CString &file);
    1.26 +extern CString winGetOriginalFilename(const CString &file);
    1.27 +extern CString winGetDirFromFilename(const CString &file);
    1.28 +extern CString winGetSavestateFilename(const CString &LogicalRomName, int nID);
    1.29 +extern CString winGetSavestateMenuString(const CString &LogicalRomName, int nID);
    1.30 +extern CString winGetDestDir(const CString &TargetDirReg);
    1.31 +extern CString winGetDestFilename(const CString &LogicalRomName, const CString &TargetDirReg, const CString &ext);
    1.32 +extern void winCorrectPath(CString &path);
    1.33 +extern void winCorrectPath(char *path);
    1.34 +
    1.35 +int winScreenCapture(int captureNumber = 0);
    1.36 +bool winImportGSACodeFile(CString& fileName);
    1.37 +void winLoadCheatList(const char *name);
    1.38 +void winSaveCheatList(const char *name);
    1.39 +void winLoadCheatListDefault();
    1.40 +void winSaveCheatListDefault();
    1.41 +bool winReadBatteryFile();
    1.42 +bool winWriteBatteryFile();
    1.43 +bool winEraseBatteryFile();
    1.44 +bool winReadSaveGame(const char *name);
    1.45 +bool winWriteSaveGame(const char *name);
    1.46 +bool winEraseSaveGame(const char *name);
    1.47 +
    1.48 +#endif // VBA_WIN32_WINMISCUTIL_H