Untangle include forrest
Every change in connectionwindow.h led to a heavy project compile, as the header was included in other headers. Avoid this by using forward declarations and only include connectionwindow.h in the C++ files that actually use it.
This commit is contained in:
+1
-1
@@ -22,7 +22,6 @@
|
||||
#include "mainsettingsdialog.h"
|
||||
#include "firmwareuploaderwindow.h"
|
||||
#include "re/discretestatewindow.h"
|
||||
#include "connections/connectionwindow.h"
|
||||
#include "scriptingwindow.h"
|
||||
#include "re/rangestatewindow.h"
|
||||
#include "dbc/dbcloadsavewindow.h"
|
||||
@@ -33,6 +32,7 @@
|
||||
#include "motorcontrollerconfigwindow.h"
|
||||
#include "signalviewerwindow.h"
|
||||
|
||||
class CANConnection;
|
||||
class ConnectionWindow;
|
||||
class ISOTP_InterpreterWindow;
|
||||
class ScriptingWindow;
|
||||
|
||||
Reference in New Issue
Block a user