0027478: Configuration - avoid inclusion of Xlib.h within Graphic3d_GraphicDriver.hxx
authorBenjamin Bihler <benjamin.bihler@compositence.de>
Tue, 10 May 2016 17:59:55 +0000 (20:59 +0300)
committerkgv <kgv@opencascade.com>
Tue, 10 May 2016 17:59:55 +0000 (20:59 +0300)
Replace Aspect_DisplayConnection.hxx inclusion by forward declaration.

src/Graphic3d/Graphic3d_GraphicDriver.hxx

index 01a326c..bffcb3f 100644 (file)
@@ -21,7 +21,6 @@
 #include <Standard_Type.hxx>
 
 #include <Standard_Integer.hxx>
-#include <Aspect_DisplayConnection.hxx>
 #include <Standard_Boolean.hxx>
 #include <MMgt_TShared.hxx>
 #include <Graphic3d_CView.hxx>
@@ -51,6 +50,7 @@
 #include <TColStd_Array2OfReal.hxx>
 #include <TColStd_SequenceOfInteger.hxx>
 
+class Aspect_DisplayConnection;
 class Graphic3d_CView;
 class Graphic3d_GraphicDriver;
 class Graphic3d_TransformError;