From f7aa064edc20eafbc738271c5b53238fa4ad8361 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 6 Jun 2013 08:11:28 +0200 Subject: Remove dead code --- ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp | 11 ----------- ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.h | 6 ------ ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc_dialog.cpp | 5 ----- 3 files changed, 22 deletions(-) (limited to 'ftnoir_protocol_fsuipc') 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 // -- cgit v1.2.3