SerialBusConnection: Order and condence includes
By practicing the following rules: (4 and 5 are not needed here) 1. own header 2. project headers 3. Qt headers 4. operating system headers 5. compiler headers
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include <QObject>
|
||||
#include <QDebug>
|
||||
#include <QCanBusFrame>
|
||||
#include <QDateTime>
|
||||
|
||||
#include "serialbusconnection.h"
|
||||
|
||||
#include "canconmanager.h"
|
||||
|
||||
#include <QCanBus>
|
||||
#include <QCanBusFrame>
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
|
||||
/***********************************/
|
||||
/**** class definition ****/
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
#ifndef SERIALBUSCONNECTION_H
|
||||
#define SERIALBUSCONNECTION_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QCanBus>
|
||||
#include <QTimer>
|
||||
#include <qthread.h>
|
||||
|
||||
#include "canframemodel.h"
|
||||
#include "canconnection.h"
|
||||
#include "canconmanager.h"
|
||||
#include "canframemodel.h"
|
||||
|
||||
#include <QCanBusDevice>
|
||||
#include <QTimer>
|
||||
|
||||
class SerialBusConnection : public CANConnection
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user