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:
Andre Hartmann
2017-11-25 17:27:08 +01:00
parent 380e3c9da2
commit 560701e208
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;