Skip to content

Commit

Permalink
Remove unused mcudpsocket class (#579)
Browse files Browse the repository at this point in the history
* rm unused mcudpsocket
* add clang-format settings file
No enforcement, just as a tool and reference for
those who want to have convenient and consistent way
to format their code.

Signed-off-by: Viktor Kopp <vifactor@gmail.com>
  • Loading branch information
vifactor authored Nov 18, 2024
1 parent 33019a7 commit 674608b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 130 deletions.
5 changes: 5 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
BasedOnStyle: LLVM
ColumnLimit: 100
IndentWidth: 4
...
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ add_executable(dlt-viewer
dltmsgqueue.cpp
dltfileindexerthread.cpp
dltfileindexerdefaultfilterthread.cpp
mcudpsocket.cpp
sortfilterproxymodel.cpp
searchform.h
searchform.cpp
Expand Down
65 changes: 0 additions & 65 deletions src/mcudpsocket.cpp

This file was deleted.

42 changes: 0 additions & 42 deletions src/mcudpsocket.h

This file was deleted.

21 changes: 0 additions & 21 deletions src/project.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
#define PROJECT_H


#include "qdlt.h"
#include "plugintreewidget.h"
#include "qdltipconnection.h"
#include "qdltserialconnection.h"
#include "qdltplugin.h"
#include "qdltsettingsmanager.h"


#include <QTreeWidget>
#include <QDockWidget>
#include <QTcpSocket>
Expand All @@ -38,29 +36,10 @@
#include <QSerialPort>
#include <QPluginLoader>

#if defined(_MSC_VER)
#include <cstdint>
#else
#include <stdint.h>
#endif

#include "settingsdialog.h"
#include "mcudpsocket.h"

extern "C"
{

}

#include "plugininterface.h"

#define DLT_VIEWER_BUFFER_SIZE 256000
#define RCVBUFSIZE 128000 /* Size of receive buffer */
#define RECONNECT_TIMEOUT 3




enum dlt_item_type { ecu_type = QTreeWidgetItem::UserType, application_type, context_type, filter_type, plugin_type };

class EcuItem : public QTreeWidgetItem
Expand Down
1 change: 0 additions & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ SOURCES += main.cpp \
dltmsgqueue.cpp \
dltfileindexerthread.cpp \
dltfileindexerdefaultfilterthread.cpp \
mcudpsocket.cpp \

# Show these headers in the project
HEADERS += mainwindow.h \
Expand Down

0 comments on commit 674608b

Please sign in to comment.