summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_sm/ftnoir_tracker_sm.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-06-06 08:24:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-06-06 08:24:25 +0200
commit49cc95872c9df48c8a3e7dcd807e65f5f20a140e (patch)
tree7f5b945ea7e635208347a98224c0cdd321c68c32 /ftnoir_tracker_sm/ftnoir_tracker_sm.h
parentf7aa064edc20eafbc738271c5b53238fa4ad8361 (diff)
Use a standard way for creating the mapping
Diffstat (limited to 'ftnoir_tracker_sm/ftnoir_tracker_sm.h')
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_sm.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/ftnoir_tracker_sm/ftnoir_tracker_sm.h b/ftnoir_tracker_sm/ftnoir_tracker_sm.h
index 22f9ca4e..33cfb9ef 100644
--- a/ftnoir_tracker_sm/ftnoir_tracker_sm.h
+++ b/ftnoir_tracker_sm/ftnoir_tracker_sm.h
@@ -79,15 +79,14 @@ public:
void Initialize(QWidget *parent);
void registerTracker(ITracker *tracker) {
theTracker = (FTNoIR_Tracker *) tracker; // Accept the pointer to the Tracker
- };
+ }
void unRegisterTracker() {
theTracker = NULL; // Reset the pointer
- };
+ }
private:
Ui::UICSMClientControls ui;
void loadSettings();
- bool SMCreateMapping();
void doCommand( int command );
void doCommand( int command, int value );
@@ -98,19 +97,19 @@ private:
//
// global variables
//
- HANDLE hSMMemMap;
SMMemMap *pMemData;
- HANDLE hSMMutex;
+
smEngineHandle *engine_handle;
QTimer *timUpdateSettings; // Timer to display current settings
FTNoIR_Tracker *theTracker;
+ PortableLockedShm shm;
private slots:
void doOK();
void doCancel();
void save();
- void settingChanged() { settingsDirty = true; };
+ void settingChanged() { settingsDirty = true; }
void doTimUpdate();
void showSettings( int newState );
void doStartEngine(){
@@ -127,7 +126,7 @@ private slots:
}
void settingChanged(int dummy) {
settingsDirty = true;
- };
+ }
signals:
void stateChanged(int newState);