Mercurial > vba-linux
view src/win32/ramwatch.h @ 4:5f6f2134e8ce
apu appears to not be used
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:35:58 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef RAMWATCH_H2 #define RAMWATCH_H4 bool ResetWatches();5 void OpenRWRecentFile(int memwRFileNumber);6 extern bool AutoRWLoad;7 extern bool RWSaveWindowPos;8 #define MAX_RECENT_WATCHES 59 extern char rw_recent_files[MAX_RECENT_WATCHES][1024];10 extern bool AskSave();11 extern int ramw_x;12 extern int ramw_y;13 extern bool RWfileChanged;15 //Constants16 #define AUTORWLOAD "RamWatchAutoLoad"17 #define RWSAVEPOS "RamWatchSaveWindowPos"18 #define RAMWX "RamwX"19 #define RAMWY "RamwY"21 // AddressWatcher is self-contained now22 struct AddressWatcher23 {24 unsigned int Address; // hardware address25 char Size;26 char Type;27 char* comment; // NULL means no comment, non-NULL means allocated comment28 bool WrongEndian;29 unsigned int CurValue;30 };31 #define MAX_WATCH_COUNT 25632 extern AddressWatcher rswatches[MAX_WATCH_COUNT];33 extern int WatchCount; // number of valid items in rswatches35 extern char Watch_Dir[1024];37 extern HWND RamWatchHWnd;38 extern HACCEL RamWatchAccels;40 bool InsertWatch(const AddressWatcher& Watch, char *Comment);41 bool InsertWatch(const AddressWatcher& Watch, HWND parent=NULL); // asks user for comment42 void Update_RAM_Watch();43 bool Load_Watches(bool clear, const char* filename);44 void RWAddRecentFile(const char *filename);46 #endif