summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft/ftnoir_protocol_ft.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-06-06 07:55:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-06-06 07:55:51 +0200
commit2b83e2db9552d3f0abd3c4bb5543f72a96e4e4bf (patch)
tree8c401850c8b88f120bdeecd8141137548282746f /ftnoir_protocol_ft/ftnoir_protocol_ft.h
parent4163f66b78873c78facf8dfa4e14506719fccc35 (diff)
FT: use the portable way to create a shared memory segment
Diffstat (limited to 'ftnoir_protocol_ft/ftnoir_protocol_ft.h')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.h b/ftnoir_protocol_ft/ftnoir_protocol_ft.h
index 0915a5f3..2cc03ca6 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft.h
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.h
@@ -42,6 +42,7 @@
#include <windows.h>
#include <QMutex>
#include <QMutexLocker>
+#include "compat/compat.h"
//#include "math.h"
//typedef char *(WINAPI *importProvider)(void);
@@ -65,16 +66,12 @@ public:
}
private:
- bool FTCreateMapping();
- void FTDestroyMapping();
-
importTIRViewsStart viewsStart; // Functions inside TIRViews.dll
importTIRViewsStop viewsStop;
- HANDLE hFTMemMap;
FTMemMap *pMemData;
- HANDLE hFTMutex;
QString game_name;
+ PortableLockedShm shm;
// Private properties
QString ProgramName;