Revert "DocumentReader implemented for GuiDocument.xml reading."

This reverts commit 5f101af3e9.
This commit is contained in:
AgCaliva
2023-06-30 20:27:12 -03:00
parent 5f101af3e9
commit 0751770bc6
20 changed files with 305 additions and 1054 deletions

View File

@@ -34,6 +34,7 @@
#include "ExtensionPython.h"
#include <ExtensionPy.h>
/* We do not use a standard property macro for type initiation. The reason is that we have the first
* PropertyData in the extension chain, there is no parent property data.
*/
@@ -78,6 +79,7 @@ void Extension::initExtensionType(Base::Type type) {
}
void Extension::initExtension(ExtensionContainer* obj) {
if (m_extensionType.isBad())
throw Base::RuntimeError("Extension: Extension type not set");
@@ -203,24 +205,6 @@ bool Extension::extensionHandleChangedPropertyType(Base::XMLReader &reader, cons
return false;
};
bool Extension::extensionHandleChangedPropertyName(Base::DocumentReader &reader, const char * TypeName, const char *PropName)
{
(void) reader;
(void) TypeName;
(void) PropName;
return false;
};
bool Extension::extensionHandleChangedPropertyType(Base::DocumentReader &reader, const char * TypeName, Property * prop)
{
(void) reader;
(void) TypeName;
(void) prop;
return false;
};
namespace App {
EXTENSION_PROPERTY_SOURCE_TEMPLATE(App::ExtensionPython, App::ExtensionPython::Inherited)