summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKari Oikarinen <kari.oikarinen@qt.io>2016-11-18 16:24:10 +0200
committerKari Oikarinen <kari.oikarinen@qt.io>2016-11-21 13:53:55 +0000
commitd35f40c2a383b73cdc13d63e29d5b5d947ffab75 (patch)
tree2f64eb8c068f9ee76e8e3634d63fba2fc53ac37f
parent05c778d619d661d131d1fea7f1e0e135712995c5 (diff)
Remove dead files about file transfers and process running
These should have already been removed in 6e15f80aed27e87e9727568ee8d968641a9ed913, but were overlooked. Change-Id: Ide27b86fe08d8755879f60594ffc482bb3b1e28d Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--libqdb/filepullcommon.h61
-rw-r--r--libqdb/filepushcommon.h61
-rw-r--r--libqdb/libqdb.pro3
-rw-r--r--libqdb/processcommon.h61
4 files changed, 0 insertions, 186 deletions
diff --git a/libqdb/filepullcommon.h b/libqdb/filepullcommon.h
deleted file mode 100644
index b4cdf43..0000000
--- a/libqdb/filepullcommon.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/******************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the Qt Debug Bridge.
-**
-** $QT_BEGIN_LICENSE:COMM$
-**
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** $QT_END_LICENSE$
-**
-******************************************************************************/
-#ifndef FILEPULLCOMMON_H
-#define FILEPULLCOMMON_H
-
-#include <QtGlobal>
-
-#include <cstdint>
-
-enum FilePullPacketType : uint32_t
-{
- FilePullOpen = 1,
- FilePullOpened,
- FilePullRead,
- FilePullWasRead,
- FilePullEnd,
- FilePullError,
-};
-
-inline
-FilePullPacketType toFilePullPacketType(uint32_t x)
-{
- switch (static_cast<FilePullPacketType>(x))
- {
- case FilePullOpen:
- return FilePullOpen;
- case FilePullOpened:
- return FilePullOpened;
- case FilePullRead:
- return FilePullRead;
- case FilePullWasRead:
- return FilePullWasRead;
- case FilePullEnd:
- return FilePullEnd;
- case FilePullError:
- return FilePullError;
- default:
- Q_UNREACHABLE();
- return FilePullError;
- }
-}
-
-#endif // FILEPULLCOMMON_H
diff --git a/libqdb/filepushcommon.h b/libqdb/filepushcommon.h
deleted file mode 100644
index 35537a7..0000000
--- a/libqdb/filepushcommon.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/******************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the Qt Debug Bridge.
-**
-** $QT_BEGIN_LICENSE:COMM$
-**
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** $QT_END_LICENSE$
-**
-******************************************************************************/
-#ifndef FILEPUSHCOMMON_H
-#define FILEPUSHCOMMON_H
-
-#include <QtGlobal>
-
-#include <cstdint>
-
-enum FilePushPacketType : uint32_t
-{
- FilePushOpen = 1,
- FilePushOpened,
- FilePushWrite,
- FilePushWritten,
- FilePushEnd,
- FilePushError,
-};
-
-inline
-FilePushPacketType toFilePushPacketType(uint32_t x)
-{
- switch (static_cast<FilePushPacketType>(x))
- {
- case FilePushOpen:
- return FilePushOpen;
- case FilePushOpened:
- return FilePushOpened;
- case FilePushWrite:
- return FilePushWrite;
- case FilePushWritten:
- return FilePushWritten;
- case FilePushEnd:
- return FilePushEnd;
- case FilePushError:
- return FilePushError;
- default:
- Q_UNREACHABLE();
- return FilePushError;
- }
-}
-
-#endif // FILEPUSHCOMMON_H
diff --git a/libqdb/libqdb.pro b/libqdb/libqdb.pro
index 205a86e..650ec61 100644
--- a/libqdb/libqdb.pro
+++ b/libqdb/libqdb.pro
@@ -15,11 +15,8 @@ SOURCES += \
HEADERS += \
abstractconnection.h \
- filepullcommon.h \
- filepushcommon.h \
interruptsignalhandler.h \
libqdb_global.h \
- processcommon.h \
protocol/protocol.h \
protocol/qdbmessage.h \
protocol/qdbtransport.h \
diff --git a/libqdb/processcommon.h b/libqdb/processcommon.h
deleted file mode 100644
index d7dbc31..0000000
--- a/libqdb/processcommon.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/******************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the Qt Debug Bridge.
-**
-** $QT_BEGIN_LICENSE:COMM$
-**
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** $QT_END_LICENSE$
-**
-******************************************************************************/
-#ifndef PROCESSCOMMON_H
-#define PROCESSCOMMON_H
-
-#include <QtGlobal>
-
-#include <cstdint>
-
-enum ProcessPacketType : uint32_t
-{
- ProcessStart = 1,
- ProcessStarted,
- ProcessRead,
- ProcessWrite,
- ProcessError,
- ProcessFinished,
-};
-
-inline
-ProcessPacketType toProcessPacketType(uint32_t x)
-{
- switch (static_cast<ProcessPacketType>(x))
- {
- case ProcessStart:
- return ProcessStart;
- case ProcessStarted:
- return ProcessStarted;
- case ProcessRead:
- return ProcessRead;
- case ProcessWrite:
- return ProcessWrite;
- case ProcessError:
- return ProcessError;
- case ProcessFinished:
- return ProcessFinished;
- default:
- Q_UNREACHABLE(); // all possible values are covered
- return ProcessError;
- }
-}
-
-#endif // PROCESSCOMMON_H