TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations

For MSVC this reduces compile time by ~20%
This commit is contained in:
wmayer
2022-03-25 13:54:47 +01:00
parent b704454e33
commit fd8719c85c
63 changed files with 171 additions and 137 deletions

View File

@@ -25,7 +25,6 @@
#include <Gui/TaskView/TaskDialog.h>
#include <Gui/TaskView/TaskView.h>
#include <Mod/TechDraw/Gui/ui_TaskCenterLine.h>
//TODO: make this a proper enum
@@ -36,20 +35,14 @@
#define TRACKERFINISHED 4
#define TRACKERSAVE 5
class Ui_TaskCenterLine;
namespace TechDraw
{
class DrawPage;
class DrawView;
class DrawViewPart;
class CosmeticEdge;
class LineFormat;
}
namespace TechDraw
{
class Face;
class LineFormat;
}
namespace TechDrawGui
@@ -59,6 +52,7 @@ class QGIView;
class QGIPrimPath;
class MDIViewPage;
class ViewProviderViewPart;
class Ui_TaskCenterLine;
class TaskCenterLine : public QWidget
{