From c6a208bb180bf2567709a83d9a486cade94664cb Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 29 Aug 2022 19:31:50 +0200 Subject: [PATCH] Part: modernize C++: replace 'typedef' with 'using' --- src/Mod/Part/App/AttachExtension.h | 2 +- src/Mod/Part/App/Attacher.h | 4 ++-- src/Mod/Part/App/CustomFeature.h | 2 +- src/Mod/Part/App/FT2FC.cpp | 2 +- src/Mod/Part/App/GeometryDefaultExtension.cpp | 4 ++-- src/Mod/Part/App/Part2DObject.h | 2 +- src/Mod/Part/App/PartFeature.h | 2 +- src/Mod/Part/App/PartPyCXX.h | 2 +- src/Mod/Part/App/PropertyTopoShape.h | 4 ++-- src/Mod/Part/App/Tools.h | 16 ++++++++-------- src/Mod/Part/App/TopoShapePyImp.cpp | 2 +- src/Mod/Part/App/edgecluster.h | 8 ++++---- src/Mod/Part/App/modelRefine.h | 10 +++++----- src/Mod/Part/Gui/AttacherTexts.h | 2 +- src/Mod/Part/Gui/DlgBooleanOperation.h | 2 +- src/Mod/Part/Gui/DlgFilletEdges.cpp | 2 +- src/Mod/Part/Gui/DlgPartBoxImp.h | 2 +- src/Mod/Part/Gui/DlgPartCylinderImp.h | 2 +- src/Mod/Part/Gui/SoBrepEdgeSet.h | 6 +++--- src/Mod/Part/Gui/SoBrepFaceSet.h | 6 +++--- src/Mod/Part/Gui/SoBrepPointSet.h | 8 ++++---- src/Mod/Part/Gui/SoFCShapeObject.h | 2 +- src/Mod/Part/Gui/TaskAttacher.h | 6 +++--- src/Mod/Part/Gui/TaskCheckGeometry.h | 4 ++-- src/Mod/Part/Gui/TaskDimension.h | 2 +- src/Mod/Part/Gui/TaskFaceColors.cpp | 2 +- src/Mod/Part/Gui/ViewProvider2DObject.h | 2 +- src/Mod/Part/Gui/ViewProviderAttachExtension.h | 2 +- src/Mod/Part/Gui/ViewProviderPython.h | 4 ++-- src/Mod/Part/Gui/ViewProviderSpline.h | 2 +- 30 files changed, 58 insertions(+), 58 deletions(-) diff --git a/src/Mod/Part/App/AttachExtension.h b/src/Mod/Part/App/AttachExtension.h index c93521363d..ad80346303 100644 --- a/src/Mod/Part/App/AttachExtension.h +++ b/src/Mod/Part/App/AttachExtension.h @@ -130,7 +130,7 @@ private: }; -typedef App::ExtensionPythonT AttachExtensionPython; +using AttachExtensionPython = App::ExtensionPythonT; } // namespace Part diff --git a/src/Mod/Part/App/Attacher.h b/src/Mod/Part/App/Attacher.h index dd62bb7ead..cf9c30eb29 100644 --- a/src/Mod/Part/App/Attacher.h +++ b/src/Mod/Part/App/Attacher.h @@ -145,8 +145,8 @@ enum eRefType { }; -typedef std::vector refTypeString; //a sequence of ref types, according to Support contents for example -typedef std::vector refTypeStringList; //a set of type strings, defines which selection sets are supported by a certain mode +using refTypeString = std::vector; //a sequence of ref types, according to Support contents for example +using refTypeStringList = std::vector; //a set of type strings, defines which selection sets are supported by a certain mode /** diff --git a/src/Mod/Part/App/CustomFeature.h b/src/Mod/Part/App/CustomFeature.h index 389e208bc5..7a4e34ad9f 100644 --- a/src/Mod/Part/App/CustomFeature.h +++ b/src/Mod/Part/App/CustomFeature.h @@ -54,7 +54,7 @@ public: } }; -typedef App::FeaturePythonT CustomFeaturePython; +using CustomFeaturePython = App::FeaturePythonT; } //namespace Part diff --git a/src/Mod/Part/App/FT2FC.cpp b/src/Mod/Part/App/FT2FC.cpp index b58d5085ef..86e9998ac8 100644 --- a/src/Mod/Part/App/FT2FC.cpp +++ b/src/Mod/Part/App/FT2FC.cpp @@ -77,7 +77,7 @@ using namespace Part; -typedef unsigned long UNICHAR; // ul is FT2's codepoint type <=> Py_UNICODE2/4 +using UNICHAR = unsigned long; // ul is FT2's codepoint type <=> Py_UNICODE2/4 // Private function prototypes PyObject* getGlyphContours(FT_Face FTFont, UNICHAR currchar, double PenPos, double Scale,int charNum, double tracking); diff --git a/src/Mod/Part/App/GeometryDefaultExtension.cpp b/src/Mod/Part/App/GeometryDefaultExtension.cpp index d66cdb8479..6616e2d697 100644 --- a/src/Mod/Part/App/GeometryDefaultExtension.cpp +++ b/src/Mod/Part/App/GeometryDefaultExtension.cpp @@ -101,8 +101,8 @@ PyObject * GeometryDefaultExtension::getPyObject() namespace Part { // ----------------------------- Template specialisations---------------------------------------------------- -//typedef Part::GeometryDefaultExtension GeometryIntExtension; -//typedef Part::GeometryStringExtension GeometryStringExtension; +//using GeometryIntExtension = Part::GeometryDefaultExtension; +//using GeometryStringExtension = Part::GeometryStringExtension; // ---------- GeometryIntExtension ---------- TYPESYSTEM_SOURCE_TEMPLATE_T(Part::GeometryIntExtension,Part::GeometryPersistenceExtension) diff --git a/src/Mod/Part/App/Part2DObject.h b/src/Mod/Part/App/Part2DObject.h index add761e15e..0b9c909087 100644 --- a/src/Mod/Part/App/Part2DObject.h +++ b/src/Mod/Part/App/Part2DObject.h @@ -100,7 +100,7 @@ protected: void handleChangedPropertyName(Base::XMLReader &reader, const char * TypeName, const char *PropName) override; }; -typedef App::FeaturePythonT Part2DObjectPython; +using Part2DObjectPython = App::FeaturePythonT; } //namespace Part diff --git a/src/Mod/Part/App/PartFeature.h b/src/Mod/Part/App/PartFeature.h index 13c5591b21..5f39e45a8e 100644 --- a/src/Mod/Part/App/PartFeature.h +++ b/src/Mod/Part/App/PartFeature.h @@ -138,7 +138,7 @@ public: short mustExecute() const override; }; -typedef App::FeaturePythonT FeaturePython; +using FeaturePython = App::FeaturePythonT; /** Base class of all shape feature classes in FreeCAD diff --git a/src/Mod/Part/App/PartPyCXX.h b/src/Mod/Part/App/PartPyCXX.h index b9b7a75b54..56ecdda577 100644 --- a/src/Mod/Part/App/PartPyCXX.h +++ b/src/Mod/Part/App/PartPyCXX.h @@ -29,7 +29,7 @@ namespace Py { - typedef ExtensionObject TopoShape; + using TopoShape = ExtensionObject; template<> bool TopoShape::accepts (PyObject *pyob) const; } diff --git a/src/Mod/Part/App/PropertyTopoShape.h b/src/Mod/Part/App/PropertyTopoShape.h index 14fe472f06..54c495fdc4 100644 --- a/src/Mod/Part/App/PropertyTopoShape.h +++ b/src/Mod/Part/App/PropertyTopoShape.h @@ -110,8 +110,8 @@ struct PartExport ShapeHistory { * @brief MapList: key is index of subshape (of type 'type') in source * shape. Value is list of indexes of subshapes in result shape. */ - typedef std::map > MapList; - typedef std::vector List; + using MapList = std::map >; + using List = std::vector; TopAbs_ShapeEnum type; MapList shapeMap; diff --git a/src/Mod/Part/App/Tools.h b/src/Mod/Part/App/Tools.h index 8510d19885..d5885d62b1 100644 --- a/src/Mod/Part/App/Tools.h +++ b/src/Mod/Part/App/Tools.h @@ -50,8 +50,8 @@ namespace Base { // Specialization for gp_Pnt template <> struct vec_traits { - typedef gp_Pnt vec_type; - typedef double float_type; + using vec_type = gp_Pnt; + using float_type = double; explicit vec_traits(const vec_type& v) : v(v){} inline std::tuple get() const { return std::make_tuple(v.X(), v.Y(), v.Z()); @@ -62,8 +62,8 @@ private: // Specialization for gp_Vec template <> struct vec_traits { - typedef gp_Vec vec_type; - typedef double float_type; + using vec_type = gp_Vec; + using float_type = double; explicit vec_traits(const vec_type& v) : v(v){} inline std::tuple get() const { return std::make_tuple(v.X(), v.Y(), v.Z()); @@ -74,8 +74,8 @@ private: // Specialization for gp_Dir template <> struct vec_traits { - typedef gp_Dir vec_type; - typedef double float_type; + using vec_type = gp_Dir; + using float_type = double; explicit vec_traits(const vec_type& v) : v(v){} inline std::tuple get() const { return std::make_tuple(v.X(), v.Y(), v.Z()); @@ -86,8 +86,8 @@ private: // Specialization for gp_XYZ template <> struct vec_traits { - typedef gp_XYZ vec_type; - typedef double float_type; + using vec_type = gp_XYZ; + using float_type = double; explicit vec_traits(const vec_type& v) : v(v){} inline std::tuple get() const { return std::make_tuple(v.X(), v.Y(), v.Z()); diff --git a/src/Mod/Part/App/TopoShapePyImp.cpp b/src/Mod/Part/App/TopoShapePyImp.cpp index 6e080ec58b..4cd37fea42 100644 --- a/src/Mod/Part/App/TopoShapePyImp.cpp +++ b/src/Mod/Part/App/TopoShapePyImp.cpp @@ -2473,7 +2473,7 @@ PyObject* _getSupportIndex(const char* suppStr, TopoShape* ts, TopoDS_Shape supp PyObject* TopoShapePy::proximity(PyObject *args) { - typedef BRepExtrema_MapOfIntegerPackedMapOfInteger BRepExtrema_OverlappedSubShapes; + using BRepExtrema_OverlappedSubShapes = BRepExtrema_MapOfIntegerPackedMapOfInteger; PyObject* ps2; Standard_Real tol = Precision::Confusion(); diff --git a/src/Mod/Part/App/edgecluster.h b/src/Mod/Part/App/edgecluster.h index 7a93164279..be22fe7a02 100644 --- a/src/Mod/Part/App/edgecluster.h +++ b/src/Mod/Part/App/edgecluster.h @@ -52,10 +52,10 @@ struct Edgesort_gp_Pnt_Less }; -typedef std::vector tEdgeVector; -typedef std::map tMapPntEdge; -typedef std::pair tMapPntEdgePair; -typedef std::vector > tEdgeClusterVector; +using tEdgeVector = std::vector; +using tMapPntEdge = std::map; +using tMapPntEdgePair = std::pair; +using tEdgeClusterVector = std::vector >; class PartExport Edgecluster diff --git a/src/Mod/Part/App/modelRefine.h b/src/Mod/Part/App/modelRefine.h index 3bc7b0fee5..1ae9c6ad47 100644 --- a/src/Mod/Part/App/modelRefine.h +++ b/src/Mod/Part/App/modelRefine.h @@ -44,10 +44,10 @@ namespace ModelRefine { - typedef std::vector FaceVectorType; - typedef std::vector EdgeVectorType; - typedef std::vector ShapeVectorType; - typedef std::pair ShapePairType; + using FaceVectorType = std::vector; + using EdgeVectorType = std::vector; + using ShapeVectorType = std::vector; + using ShapePairType = std::pair; void getFaceEdges(const TopoDS_Face &face, EdgeVectorType &edges); void boundaryEdges(const FaceVectorType &faces, EdgeVectorType &edgesOut); @@ -112,7 +112,7 @@ namespace ModelRefine class FaceTypeSplitter { - typedef std::map SplitMapType; + using SplitMapType = std::map; public: FaceTypeSplitter(){} void addShell(const TopoDS_Shell &shellIn); diff --git a/src/Mod/Part/Gui/AttacherTexts.h b/src/Mod/Part/Gui/AttacherTexts.h index 83cd40e50f..6e0d96354c 100644 --- a/src/Mod/Part/Gui/AttacherTexts.h +++ b/src/Mod/Part/Gui/AttacherTexts.h @@ -36,7 +36,7 @@ namespace AttacherGui { -typedef std::vector TextSet; +using TextSet = std::vector; /** * @brief getUIStrings diff --git a/src/Mod/Part/Gui/DlgBooleanOperation.h b/src/Mod/Part/Gui/DlgBooleanOperation.h index cc3bacd37c..421ae4063e 100644 --- a/src/Mod/Part/Gui/DlgBooleanOperation.h +++ b/src/Mod/Part/Gui/DlgBooleanOperation.h @@ -35,7 +35,7 @@ class Property; } namespace PartGui { -typedef boost::signals2::connection Connection; +using Connection = boost::signals2::connection; class Ui_DlgBooleanOperation; class DlgBooleanOperation : public QWidget { diff --git a/src/Mod/Part/Gui/DlgFilletEdges.cpp b/src/Mod/Part/Gui/DlgFilletEdges.cpp index f204995f6a..6b35bc5f1b 100644 --- a/src/Mod/Part/Gui/DlgFilletEdges.cpp +++ b/src/Mod/Part/Gui/DlgFilletEdges.cpp @@ -206,7 +206,7 @@ namespace PartGui { std::vector edge_ids; TopTools_IndexedMapOfShape all_edges; TopTools_IndexedMapOfShape all_faces; - typedef boost::signals2::connection Connection; + using Connection = boost::signals2::connection; Connection connectApplicationDeletedObject; Connection connectApplicationDeletedDocument; diff --git a/src/Mod/Part/Gui/DlgPartBoxImp.h b/src/Mod/Part/Gui/DlgPartBoxImp.h index 95a8fbf3b5..1d4945ac70 100644 --- a/src/Mod/Part/Gui/DlgPartBoxImp.h +++ b/src/Mod/Part/Gui/DlgPartBoxImp.h @@ -27,7 +27,7 @@ namespace PartGui { class Ui_DlgPartBox; -typedef std::shared_ptr Ui_DlgPartBoxPtr; +using Ui_DlgPartBoxPtr = std::shared_ptr; class DlgPartBoxImp : public Gui::LocationDialogUiImp { diff --git a/src/Mod/Part/Gui/DlgPartCylinderImp.h b/src/Mod/Part/Gui/DlgPartCylinderImp.h index a83671ac5c..abe56b7fed 100644 --- a/src/Mod/Part/Gui/DlgPartCylinderImp.h +++ b/src/Mod/Part/Gui/DlgPartCylinderImp.h @@ -27,7 +27,7 @@ namespace PartGui { class Ui_DlgPartCylinder; -typedef std::shared_ptr Ui_DlgPartCylinderPtr; +using Ui_DlgPartCylinderPtr = std::shared_ptr; class DlgPartCylinderImp : public Gui::LocationDialogUiImp { diff --git a/src/Mod/Part/Gui/SoBrepEdgeSet.h b/src/Mod/Part/Gui/SoBrepEdgeSet.h index b2ac29606a..dc04483250 100644 --- a/src/Mod/Part/Gui/SoBrepEdgeSet.h +++ b/src/Mod/Part/Gui/SoBrepEdgeSet.h @@ -43,7 +43,7 @@ class SoTextureCoordinateBundle; namespace PartGui { class PartGuiExport SoBrepEdgeSet : public SoIndexedLineSet { - typedef SoIndexedLineSet inherited; + using inherited = SoIndexedLineSet; SO_NODE_HEADER(SoBrepEdgeSet); @@ -52,7 +52,7 @@ public: SoBrepEdgeSet(); protected: - ~SoBrepEdgeSet() override {}; + ~SoBrepEdgeSet() override {} void GLRender(SoGLRenderAction *action) override; void GLRenderBelowPath(SoGLRenderAction * action) override; void doAction(SoAction* action) override; @@ -66,7 +66,7 @@ protected: private: struct SelContext; - typedef std::shared_ptr SelContextPtr; + using SelContextPtr = std::shared_ptr; void renderShape(const SoGLCoordinateElement * const vertexlist, const int32_t *vertexindices, int num_vertexindices); diff --git a/src/Mod/Part/Gui/SoBrepFaceSet.h b/src/Mod/Part/Gui/SoBrepFaceSet.h index c9fafcac2a..17c22575b9 100644 --- a/src/Mod/Part/Gui/SoBrepFaceSet.h +++ b/src/Mod/Part/Gui/SoBrepFaceSet.h @@ -77,7 +77,7 @@ namespace PartGui { * As an example how to use the class correctly see ViewProviderPartExt::updateVisual(). */ class PartGuiExport SoBrepFaceSet : public SoIndexedFaceSet { - typedef SoIndexedFaceSet inherited; + using inherited = SoIndexedFaceSet; SO_NODE_HEADER(SoBrepFaceSet); @@ -131,8 +131,8 @@ private: const int mbind, SbBool texture); - typedef Gui::SoFCSelectionContextEx SelContext; - typedef Gui::SoFCSelectionContextExPtr SelContextPtr; + using SelContext = Gui::SoFCSelectionContextEx; + using SelContextPtr = Gui::SoFCSelectionContextExPtr; void renderHighlight(SoGLRenderAction *action, SelContextPtr); void renderSelection(SoGLRenderAction *action, SelContextPtr, bool push=true); diff --git a/src/Mod/Part/Gui/SoBrepPointSet.h b/src/Mod/Part/Gui/SoBrepPointSet.h index 69bb7484f2..d1baf2d1ff 100644 --- a/src/Mod/Part/Gui/SoBrepPointSet.h +++ b/src/Mod/Part/Gui/SoBrepPointSet.h @@ -43,7 +43,7 @@ class SoTextureCoordinateBundle; namespace PartGui { class PartGuiExport SoBrepPointSet : public SoPointSet { - typedef SoPointSet inherited; + using inherited = SoPointSet; SO_NODE_HEADER(SoBrepPointSet); @@ -52,7 +52,7 @@ public: SoBrepPointSet(); protected: - ~SoBrepPointSet() override {}; + ~SoBrepPointSet() override {} void GLRender(SoGLRenderAction *action) override; void GLRenderBelowPath(SoGLRenderAction * action) override; void doAction(SoAction* action) override; @@ -60,8 +60,8 @@ protected: void getBoundingBox(SoGetBoundingBoxAction * action) override; private: - typedef Gui::SoFCSelectionContext SelContext; - typedef Gui::SoFCSelectionContextPtr SelContextPtr; + using SelContext = Gui::SoFCSelectionContext; + using SelContextPtr = Gui::SoFCSelectionContextPtr; void renderHighlight(SoGLRenderAction *action, SelContextPtr); void renderSelection(SoGLRenderAction *action, SelContextPtr, bool push=true); diff --git a/src/Mod/Part/Gui/SoFCShapeObject.h b/src/Mod/Part/Gui/SoFCShapeObject.h index b931156021..40194d2cc8 100644 --- a/src/Mod/Part/Gui/SoFCShapeObject.h +++ b/src/Mod/Part/Gui/SoFCShapeObject.h @@ -34,7 +34,7 @@ namespace PartGui { class PartGuiExport SoFCControlPoints : public SoShape { - typedef SoShape inherited; + using inherited = SoShape; SO_NODE_HEADER(SoFCControlPoints); diff --git a/src/Mod/Part/Gui/TaskAttacher.h b/src/Mod/Part/Gui/TaskAttacher.h index 4b6acf9b19..c6f4763e3b 100644 --- a/src/Mod/Part/Gui/TaskAttacher.h +++ b/src/Mod/Part/Gui/TaskAttacher.h @@ -53,8 +53,8 @@ class PartGuiExport TaskAttacher : public Gui::TaskView::TaskBox, public Gui::Se Q_OBJECT public: - typedef std::function VisibilityFunction; + using VisibilityFunction = std::function; explicit TaskAttacher(Gui::ViewProviderDocumentObject *ViewProvider, QWidget *parent = nullptr, QString picture = QString(), @@ -140,7 +140,7 @@ private: Attacher::SuggestResult lastSuggestResult; bool completed; - typedef boost::signals2::connection Connection; + using Connection = boost::signals2::connection; Connection connectDelObject; Connection connectDelDocument; }; diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.h b/src/Mod/Part/Gui/TaskCheckGeometry.h index 18d8eff990..78c64d7cbd 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.h +++ b/src/Mod/Part/Gui/TaskCheckGeometry.h @@ -74,8 +74,8 @@ void goSetupResultInvalidCurveSurface(ResultEntry *entry); void goSetupResultInvalidSameParameterFlag(ResultEntry *entry); void goSetupResultUnorientableShapeFace(ResultEntry *entry); -typedef std::function ResultFunction; -typedef std::tuple FunctionMapType; +using ResultFunction = std::function; +using FunctionMapType = std::tuple; class ResultModel : public QAbstractItemModel { diff --git a/src/Mod/Part/Gui/TaskDimension.h b/src/Mod/Part/Gui/TaskDimension.h index 5d68fbec9e..de0cb3d9f8 100644 --- a/src/Mod/Part/Gui/TaskDimension.h +++ b/src/Mod/Part/Gui/TaskDimension.h @@ -199,7 +199,7 @@ public: void setIconDone(const uint &index); protected: - typedef std::pair ButtonIconPairType; + using ButtonIconPairType = std::pair; std::vector buttons; QPixmap *stepActive; QPixmap *stepDone; diff --git a/src/Mod/Part/Gui/TaskFaceColors.cpp b/src/Mod/Part/Gui/TaskFaceColors.cpp index 2d66da422a..a93655e50e 100644 --- a/src/Mod/Part/Gui/TaskFaceColors.cpp +++ b/src/Mod/Part/Gui/TaskFaceColors.cpp @@ -89,7 +89,7 @@ namespace PartGui { class FaceColors::Private { public: - typedef boost::signals2::connection Connection; + using Connection = boost::signals2::connection; Ui_TaskFaceColors* ui; QPointer view; ViewProviderPartExt* vp; diff --git a/src/Mod/Part/Gui/ViewProvider2DObject.h b/src/Mod/Part/Gui/ViewProvider2DObject.h index 4d59e81403..b55644fb44 100644 --- a/src/Mod/Part/Gui/ViewProvider2DObject.h +++ b/src/Mod/Part/Gui/ViewProvider2DObject.h @@ -98,7 +98,7 @@ private: float MaxY; }; -typedef Gui::ViewProviderPythonFeatureT ViewProvider2DObjectPython; +using ViewProvider2DObjectPython = Gui::ViewProviderPythonFeatureT; } // namespace PartGui diff --git a/src/Mod/Part/Gui/ViewProviderAttachExtension.h b/src/Mod/Part/Gui/ViewProviderAttachExtension.h index e3869cab61..f3a1376c2d 100644 --- a/src/Mod/Part/Gui/ViewProviderAttachExtension.h +++ b/src/Mod/Part/Gui/ViewProviderAttachExtension.h @@ -48,7 +48,7 @@ private: void showAttachmentEditor(); }; -typedef Gui::ViewProviderExtensionPythonT ViewProviderAttachExtensionPython; +using ViewProviderAttachExtensionPython = Gui::ViewProviderExtensionPythonT; } //namespace Part::Gui diff --git a/src/Mod/Part/Gui/ViewProviderPython.h b/src/Mod/Part/Gui/ViewProviderPython.h index 945c123b07..450a9473f2 100644 --- a/src/Mod/Part/Gui/ViewProviderPython.h +++ b/src/Mod/Part/Gui/ViewProviderPython.h @@ -45,8 +45,8 @@ protected: std::map propView; }; -typedef Gui::ViewProviderPythonFeatureT ViewProviderPython; -typedef Gui::ViewProviderPythonFeatureT ViewProviderCustomPython; +using ViewProviderPython = Gui::ViewProviderPythonFeatureT; +using ViewProviderCustomPython = Gui::ViewProviderPythonFeatureT; } // namespace PartGui diff --git a/src/Mod/Part/Gui/ViewProviderSpline.h b/src/Mod/Part/Gui/ViewProviderSpline.h index 93a069951b..760a9b0244 100644 --- a/src/Mod/Part/Gui/ViewProviderSpline.h +++ b/src/Mod/Part/Gui/ViewProviderSpline.h @@ -69,7 +69,7 @@ private: ViewProviderSplineExtension extension; }; -typedef Gui::ViewProviderExtensionPythonT ViewProviderSplineExtensionPython; +using ViewProviderSplineExtensionPython = Gui::ViewProviderExtensionPythonT; } //namespace PartGui