Skip to content

Commit

Permalink
Remove MosaicCamera TCP server
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Dec 17, 2024
1 parent 04461ab commit 0eb4066
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 83 deletions.
3 changes: 0 additions & 3 deletions plugins/MosaicCamera/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/src)
SET(MosaicCamera_SRCS
MosaicCamera.hpp
MosaicCamera.cpp
MosaicTcpServer.hpp
MosaicTcpServer.cpp
gui/MosaicCameraDialog.hpp
gui/MosaicCameraDialog.cpp
)
Expand All @@ -28,7 +26,6 @@ SET(MosaicCamera_Qt_Libraries
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Gui
Qt${QT_VERSION_MAJOR}::Widgets
Qt${QT_VERSION_MAJOR}::Network
)

ADD_LIBRARY(MosaicCamera-static STATIC ${MosaicCamera_SRCS} ${MosaicCamera_RES_CXX} ${MosaicCamera_UIS_H})
Expand Down
7 changes: 0 additions & 7 deletions plugins/MosaicCamera/src/MosaicCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "StelModuleMgr.hpp"
#include "MosaicCamera.hpp"
#include "MosaicCameraDialog.hpp"
#include "MosaicTcpServer.hpp"
#include "StelUtils.hpp"
#include "StelPainter.hpp"
#include "CustomObject.hpp"
Expand Down Expand Up @@ -66,7 +65,6 @@ MosaicCamera::MosaicCamera()
{
setObjectName("MosaicCamera");
configDialog = new MosaicCameraDialog();
tcpServer = new MosaicTcpServer();
conf = StelApp::getInstance().getSettings();
}

Expand All @@ -76,7 +74,6 @@ MosaicCamera::MosaicCamera()
MosaicCamera::~MosaicCamera()
{
delete configDialog;
delete tcpServer;
}

void MosaicCamera::loadSettings()
Expand Down Expand Up @@ -129,10 +126,6 @@ void MosaicCamera::init()

initializeUserData();

qDebug() << "[MosaicCamera] Starting TCP server";
tcpServer->startServer(5772);
connect(tcpServer, &MosaicTcpServer::newValuesReceived, this, &MosaicCamera::updateMosaic);

qDebug() << "[MosaicCamera] Loading built-in cameras";
loadBuiltInCameras();

Expand Down
2 changes: 0 additions & 2 deletions plugins/MosaicCamera/src/MosaicCamera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef MOSAICCAMERA_HPP
#define MOSAICCAMERA_HPP

#include "MosaicTcpServer.hpp"
#include "StelModule.hpp"
#include "StelPluginInterface.hpp"
#include <QColor>
Expand Down Expand Up @@ -109,7 +108,6 @@ public slots:
void copyResourcesToUserDirectory();

MosaicCameraDialog* configDialog;
MosaicTcpServer* tcpServer;
};

class MosaicCameraStelPluginInterface : public QObject, public StelPluginInterface
Expand Down
46 changes: 0 additions & 46 deletions plugins/MosaicCamera/src/MosaicTcpServer.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions plugins/MosaicCamera/src/MosaicTcpServer.hpp

This file was deleted.

0 comments on commit 0eb4066

Please sign in to comment.