comparison 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
comparison
equal deleted inserted replaced
0:8ced16adf2e1 1:f9f4f1b99eed
1 #ifndef VBA_WIN32_WINMISCUTIL_H
2 #define VBA_WIN32_WINMISCUTIL_H
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7
8 extern const char IDS_ROM_DIR[];
9 extern const char IDS_GBXROM_DIR[];
10 extern const char IDS_BATTERY_DIR[];
11 extern const char IDS_SAVE_DIR[];
12 extern const char IDS_MOVIE_DIR[];
13 extern const char IDS_CHEAT_DIR[];
14 extern const char IDS_LUA_DIR[];
15 extern const char IDS_IPS_DIR[];
16 extern const char IDS_AVI_DIR[];
17 extern const char IDS_WAV_DIR[];
18 extern const char IDS_CAPTURE_DIR[];
19 extern const char IDS_WATCH_DIR[];
20
21 extern bool winFileExists(const CString &filename);
22 extern bool winIsDriveRoot(const CString &file);
23 extern CString winGetOriginalFilename(const CString &file);
24 extern CString winGetDirFromFilename(const CString &file);
25 extern CString winGetSavestateFilename(const CString &LogicalRomName, int nID);
26 extern CString winGetSavestateMenuString(const CString &LogicalRomName, int nID);
27 extern CString winGetDestDir(const CString &TargetDirReg);
28 extern CString winGetDestFilename(const CString &LogicalRomName, const CString &TargetDirReg, const CString &ext);
29 extern void winCorrectPath(CString &path);
30 extern void winCorrectPath(char *path);
31
32 int winScreenCapture(int captureNumber = 0);
33 bool winImportGSACodeFile(CString& fileName);
34 void winLoadCheatList(const char *name);
35 void winSaveCheatList(const char *name);
36 void winLoadCheatListDefault();
37 void winSaveCheatListDefault();
38 bool winReadBatteryFile();
39 bool winWriteBatteryFile();
40 bool winEraseBatteryFile();
41 bool winReadSaveGame(const char *name);
42 bool winWriteSaveGame(const char *name);
43 bool winEraseSaveGame(const char *name);
44
45 #endif // VBA_WIN32_WINMISCUTIL_H