Added linux build and some UI minor fixes
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include "SocketCanDriver.h"
|
||||
#include "SocketCanInterface.h"
|
||||
#include <core/Backend.h>
|
||||
#include <driver/GenericCanSetupPage.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <linux/if.h>
|
||||
@@ -38,10 +37,8 @@
|
||||
#include <string.h>
|
||||
|
||||
SocketCanDriver::SocketCanDriver(Backend &backend)
|
||||
: CanDriver(backend),
|
||||
setupPage(new GenericCanSetupPage())
|
||||
: CanDriver(backend)
|
||||
{
|
||||
QObject::connect(&backend, SIGNAL(onSetupDialogCreated(SetupDialog&)), setupPage, SLOT(onSetupDialogCreated(SetupDialog&)));
|
||||
}
|
||||
|
||||
SocketCanDriver::~SocketCanDriver() {
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
class SocketCanInterface;
|
||||
class SetupDialogInterfacePage;
|
||||
class GenericCanSetupPage;
|
||||
|
||||
class SocketCanDriver: public CanDriver {
|
||||
public:
|
||||
@@ -39,5 +38,4 @@ public:
|
||||
|
||||
private:
|
||||
SocketCanInterface *createOrUpdateInterface(int index, QString name);
|
||||
GenericCanSetupPage *setupPage;
|
||||
};
|
||||
|
||||
@@ -8,5 +8,5 @@ HEADERS += \
|
||||
$$PWD/SocketCanInterface.h \
|
||||
$$PWD/SocketCanDriver.h
|
||||
|
||||
FORMS +=
|
||||
|
||||
INCLUDEPATH += /usr/include/libnl3
|
||||
LIBS += -lnl-3 -lnl-route-3
|
||||
Reference in New Issue
Block a user