diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-01-08 20:09:35 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-08 20:09:35 -0200 |
commit | 29af4e28898f44df444fef5534134c6b6000418d (patch) | |
tree | 13fd8f4449f2cfeed8a6185e96a6889f9529285d /Project/Element.h | |
parent | 0c0280cfcf540f943fd2dbfdf7ac0304ea96a465 (diff) | |
parent | c11a42ee83fcf535557d4f2cc259efae2da1b7ff (diff) | |
download | PSP.git-29af4e28898f44df444fef5534134c6b6000418d.tar.gz PSP.git-29af4e28898f44df444fef5534134c6b6000418d.tar.xz PSP.git-29af4e28898f44df444fef5534134c6b6000418d.zip |
Merge pull request #44 from Thales1330/org/file-handling-and-ctrl-init
Org file handling and ctrl init
Diffstat (limited to 'Project/Element.h')
-rw-r--r-- | Project/Element.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Element.h b/Project/Element.h index 21f8def..b31a81a 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -28,6 +28,8 @@ #include <complex> +#include "XMLParser.h" + //#include <wx/log.h> /** @@ -564,6 +566,11 @@ class Element * @return The distance between the point and the line. */ virtual double PointToLineDistance(wxPoint2DDouble point, int* segmentNumber = NULL) const; + + virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode) { return NULL; } + virtual bool OpenElement(rapidxml::xml_node<>* elementNode) { return true; } + void SaveCADProperties(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementNode); + bool OpenCADProperties(rapidxml::xml_node<>* elementNode); protected: int m_elementID = 0; |