Skip to content

Commit def7348

Browse files
committed
Changed directory structure.
1 parent 8992c72 commit def7348

14 files changed

+19
-18
lines changed

DivvyDroid.pro

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,22 @@ DEFINES += QT_DEPRECATED_WARNINGS
2626
CONFIG += c++11
2727

2828
SOURCES += \
29-
adbclient.cpp \
30-
deviceinfo.cpp \
31-
devicetouchhandler.cpp \
32-
inputhandler.cpp \
29+
device/adbclient.cpp \
30+
device/deviceinfo.cpp \
31+
device/videothread.cpp \
32+
input/devicetouchhandler.cpp \
33+
input/inputhandler.cpp \
3334
main.cpp \
34-
mainwindow.cpp \
35-
videothread.cpp
35+
mainwindow.cpp
3636

3737
HEADERS += \
38-
adbclient.h \
39-
deviceinfo.h \
40-
devicetouchhandler.h \
41-
inputhandler.h \
42-
mainwindow.h \
43-
videothread.h
38+
device/adbclient.h \
39+
device/deviceinfo.h \
40+
device/videothread.h \
41+
input/devicetouchhandler.h \
42+
input/inputhandler.h \
43+
input/input-event-codes.h \
44+
mainwindow.h
4445

4546
FORMS += \
4647
mainwindow.ui
File renamed without changes.
File renamed without changes.
File renamed without changes.

deviceinfo.h renamed to device/deviceinfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <QMap>
66
#include <QByteArray>
77

8-
#include "input-event-codes.h"
8+
#include "input/input-event-codes.h"
99
//#include <linux/input.h>
1010

1111
#define INPUT_SYS_PATH "/sys/class/input/input"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

inputhandler.h renamed to input/inputhandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include <QObject>
55

6-
#include "adbclient.h"
6+
#include "device/adbclient.h"
77

88
class InputHandler : public QObject
99
{

mainwindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "mainwindow.h"
22
#include "ui_mainwindow.h"
33

4-
#include "deviceinfo.h"
5-
#include "devicetouchhandler.h"
4+
#include "device/deviceinfo.h"
5+
#include "input/devicetouchhandler.h"
66

77
#include <iostream>
88
#include <cstdarg>

mainwindow.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <QMainWindow>
55
#include <QTimer>
6-
#include "adbclient.h"
7-
#include "videothread.h"
6+
#include "device/adbclient.h"
7+
#include "device/videothread.h"
88

99
namespace Ui {
1010
class MainWindow;

0 commit comments

Comments
 (0)