summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_fsuipc
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_fsuipc
parent2b83e2db9552d3f0abd3c4bb5543f72a96e4e4bf (diff)
Remove dead code
Diffstat (limited to 'ftnoir_protocol_fsuipc')
-rw-r--r--ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp11
-rw-r--r--ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.h6
-rw-r--r--ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc_dialog.cpp5
3 files changed, 0 insertions, 22 deletions
diff --git a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp
index 3ddf6356..418003c0 100644
--- a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp
+++ b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp
@@ -56,17 +56,6 @@ FTNoIR_Protocol::~FTNoIR_Protocol()
FSUIPCLib.unload();
}
-/** helper to Auto-destruct **/
-void FTNoIR_Protocol::Release()
-{
- delete this;
-}
-
-void FTNoIR_Protocol::Initialize()
-{
- return;
-}
-
//
// Scale the measured value to the Joystick values
//
diff --git a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.h b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.h
index d8f9e624..5da1d2ca 100644
--- a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.h
+++ b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.h
@@ -61,10 +61,6 @@ class FTNoIR_Protocol : public IProtocol
public:
FTNoIR_Protocol();
~FTNoIR_Protocol();
-
- void Release();
- void Initialize();
-
bool checkServerInstallationOK();
void sendHeadposeToGame( double *headpose, double *rawheadpose );
QString getGameName() {
@@ -90,8 +86,6 @@ public:
explicit FSUIPCControls();
virtual ~FSUIPCControls();
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_fsuipc/ftnoir_protocol_fsuipc_dialog.cpp b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc_dialog.cpp
index b4d9f115..301bc0f4 100644
--- a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc_dialog.cpp
+++ b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc_dialog.cpp
@@ -63,11 +63,6 @@ FSUIPCControls::~FSUIPCControls() {
qDebug() << "~FSUIPCControls() says: started";
}
-void FSUIPCControls::Release()
-{
- delete this;
-}
-
//
// Initialize tracker-client-dialog
//