summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_mouse
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-06-06 08:11:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-06-06 08:11:28 +0200
commitf7aa064edc20eafbc738271c5b53238fa4ad8361 (patch)
treea1c6c107fb82a0ba647f6f72fb24691a1e8f4bc7 /ftnoir_protocol_mouse
parent2b83e2db9552d3f0abd3c4bb5543f72a96e4e4bf (diff)
Remove dead code
Diffstat (limited to 'ftnoir_protocol_mouse')
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp19
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse.h6
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp5
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
//