App: typo fix

doxy and code comment fix
This commit is contained in:
luzpaz
2017-07-24 14:58:20 -04:00
committed by Yorik van Havre
parent 81de244b25
commit 3b3c1032c1
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ template<> void _class_::init(void){\
* documentation. Following is a description howto create custom extensions.
*
* Extensions are like every other FreeCAD object and based on properties. All information storage
* and persistance should be achieved by use of those. Additional any number of methods can be
* and persistence should be achieved by use of those. Additional any number of methods can be
* added to provide funtionality around the properties. There are 3 samll difference to normal objects:
* 1. They must be derived from Extension class
* 2. Properties must be handled with special extension macros
@@ -272,7 +272,7 @@ public:
virtual const char* extensionGetPropertyDocumentation(const char *name) const;
//@}
/** @name Persistance */
/** @name Persistence */
//@{
virtual void extensionSave(Base::Writer&) const {}
virtual void extensionRestore(Base::XMLReader&) {}

View File

@@ -48,7 +48,7 @@ namespace App {
* extend other objects. A extended object gets all the properties and methods of the extension.
* Therefore it is like c++ multiple inheritance, which is indeed used to achieve this on c++ side,
* but provides a few important additional functionalities:
* - Property persistance is handled, save and restore work out of the box
* - Property persistence is handled, save and restore work out of the box
* - The objects python API gets extended too with the extension python API
* - Extensions can be added from c++ and python, even from both together
*