summaryrefslogtreecommitdiffstats
path: root/Project/FileHanding.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-12 18:57:10 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-12 18:57:10 -0300
commit52931022eb25080e33f2362c3b0bd4361f0cdb0b (patch)
tree90d83cb3c68f66d41971099887c321e56dd6d00f /Project/FileHanding.h
parentd2aa79321df798c297334dbcf4e56320b84400ba (diff)
downloadPSP.git-52931022eb25080e33f2362c3b0bd4361f0cdb0b.tar.gz
PSP.git-52931022eb25080e33f2362c3b0bd4361f0cdb0b.tar.xz
PSP.git-52931022eb25080e33f2362c3b0bd4361f0cdb0b.zip
Open control implementation
Diffstat (limited to 'Project/FileHanding.h')
-rw-r--r--Project/FileHanding.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/FileHanding.h b/Project/FileHanding.h
index a00d929..8783070 100644
--- a/Project/FileHanding.h
+++ b/Project/FileHanding.h
@@ -50,10 +50,12 @@ protected:
double GetNodeValueDouble(rapidxml::xml_node<>* parent, const char* nodeName);
int GetNodeValueInt(rapidxml::xml_node<>* parent, const char* nodeName);
int GetAttributeValueInt(rapidxml::xml_node<>* parent, const char* nodeName, const char* atrName);
+ int GetAttributeValueInt(rapidxml::xml_node<>* node, const char* atrName);
void SaveControlElements(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementsNode);
void SaveControlNodes(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* nodesN, std::vector<Node*> nodeList);
- void SaveControlChildren(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* childrenNode, std::vector<Node*> childList);
+ //void SaveControlChildren(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* childrenNode, std::vector<Node*> childList);
+ ControlElement* GetControlElementFromID(std::vector<ControlElement*> elementList, int id);
};
#endif // FILEHANDING_H