summaryrefslogtreecommitdiffstats
path: root/Project/ImportForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-03-28 01:43:30 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-03-28 01:43:30 -0300
commit3c817f09e1bfcfea4041758ba54d06139d796d3d (patch)
treed1e82cd8eef159f9d1100ff7e3171b7ea4e693fa /Project/ImportForm.h
parent25031d1486d307b1cf2ef92db0d37eb70fe8e9f8 (diff)
downloadPSP.git-3c817f09e1bfcfea4041758ba54d06139d796d3d.tar.gz
PSP.git-3c817f09e1bfcfea4041758ba54d06139d796d3d.tar.xz
PSP.git-3c817f09e1bfcfea4041758ba54d06139d796d3d.zip
Bus graphics data imported
Diffstat (limited to 'Project/ImportForm.h')
-rw-r--r--Project/ImportForm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Project/ImportForm.h b/Project/ImportForm.h
index a1925de..11357cf 100644
--- a/Project/ImportForm.h
+++ b/Project/ImportForm.h
@@ -88,6 +88,8 @@ class ParseAnarede
ParseAnarede(wxFileName lstFile, wxFileName pwfFile);
~ParseAnarede() {}
bool Parse();
+ std::vector<Component> GetComponents() const { return m_components; }
+ std::vector<PowerLine> GetLines() const { return m_lines; }
protected:
bool GetLenghtAndRotationFromBusCode(wxString code, double& lenght, int& rotationID);
@@ -98,6 +100,7 @@ class ParseAnarede
std::vector<Component> m_components;
std::vector<PowerLine> m_lines;
+
};
#endif // IMPORTFORM_H