view src/win32/WinMiscUtil.h @ 3:b05d00f19d80

fix some formatting
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:33:11 -0600
parents f9f4f1b99eed
children
line wrap: on
line source
1 #ifndef VBA_WIN32_WINMISCUTIL_H
2 #define VBA_WIN32_WINMISCUTIL_H
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
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[];
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);
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);
45 #endif // VBA_WIN32_WINMISCUTIL_H