diff options
Diffstat (limited to 'ftnoir_protocol_mouse')
-rw-r--r-- | ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp | 19 | ||||
-rw-r--r-- | ftnoir_protocol_mouse/ftnoir_protocol_mouse.h | 6 | ||||
-rw-r--r-- | ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp | 5 |
3 files changed, 0 insertions, 30 deletions
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp index 5dfd86b7..40558254 100644 --- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp +++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp @@ -42,7 +42,6 @@ FTNoIR_Protocol::FTNoIR_Protocol() prev_fMouse_Y = 0.0f;
prev_fMouse_Wheel = 0.0f;
frame_delay = 0;
-
loadSettings();
}
@@ -51,24 +50,6 @@ FTNoIR_Protocol::~FTNoIR_Protocol() {
}
-/** helper to Auto-destruct **/
-void FTNoIR_Protocol::Release()
-{
- delete this;
-}
-
-void FTNoIR_Protocol::Initialize()
-{
-int ScreenX, ScreenY;
-
- ScreenX = GetSystemMetrics(SM_CXSCREEN);
- ScreenY = GetSystemMetrics(SM_CYSCREEN);
-
- qDebug() << "Initialize(): Screen width (x) = " << ScreenX << ", height (y) = " << ScreenY;
-
- return;
-}
-
//
// Scale the measured value to the Joystick values
//
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h index 5da5c540..d5c614fa 100644 --- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h +++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h @@ -65,10 +65,6 @@ class FTNoIR_Protocol : public IProtocol public:
FTNoIR_Protocol();
~FTNoIR_Protocol();
-
- void Release();
- void Initialize();
-
bool checkServerInstallationOK();
void sendHeadposeToGame( double *headpose, double *rawheadpose );
@@ -106,8 +102,6 @@ public: explicit MOUSEControls();
virtual ~MOUSEControls();
void showEvent ( QShowEvent * event );
-
- void Release(); // Member functions which are accessible from outside the DLL
void Initialize(QWidget *parent);
void registerProtocol(IProtocol *protocol) {
theProtocol = (FTNoIR_Protocol *) protocol; // Accept the pointer to the Protocol
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp index ff55a858..6882ab6a 100644 --- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp +++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp @@ -102,11 +102,6 @@ MOUSEControls::~MOUSEControls() { qDebug() << "~MOUSEControls() says: started";
}
-void MOUSEControls::Release()
-{
- delete this;
-}
-
//
// Initialize tracker-client-dialog
//
|