App: Modernise ctors dtors defs etc

This commit is contained in:
berniev
2022-08-01 03:07:32 +10:00
committed by wwmayer
parent 5d4b753940
commit b6cae3bfdf
80 changed files with 866 additions and 1160 deletions

View File

@@ -47,7 +47,7 @@ class AppExport DocumentObjectExtension : public App::Extension
public:
DocumentObjectExtension ();
virtual ~DocumentObjectExtension ();
~DocumentObjectExtension () override;
App::DocumentObject* getExtendedObject();
const App::DocumentObject* getExtendedObject() const;
@@ -66,7 +66,7 @@ public:
/// get called when object is going to be removed from the document
virtual void onExtendedUnsetupObject();
virtual PyObject* getExtensionPyObject() override;
PyObject* getExtensionPyObject() override;
/// returns the type name of the ViewProviderExtension which is automatically attached
/// to the viewprovider object when it is initiated