summaryrefslogtreecommitdiffstats
path: root/Project/ImportForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-03-26 15:54:26 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-03-26 15:54:26 -0300
commit64ed394cdc4b3347768c2e1996518f02982b2ef5 (patch)
tree98248f9c8120cb3c04cadc14b68f0415bd7f6568 /Project/ImportForm.h
parente5a5041915127e72820a0478724a20dc41f0327e (diff)
downloadPSP.git-64ed394cdc4b3347768c2e1996518f02982b2ef5.tar.gz
PSP.git-64ed394cdc4b3347768c2e1996518f02982b2ef5.tar.xz
PSP.git-64ed394cdc4b3347768c2e1996518f02982b2ef5.zip
Import file GUI implemented
Diffstat (limited to 'Project/ImportForm.h')
-rw-r--r--Project/ImportForm.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Project/ImportForm.h b/Project/ImportForm.h
new file mode 100644
index 0000000..7881c64
--- /dev/null
+++ b/Project/ImportForm.h
@@ -0,0 +1,26 @@
+#ifndef IMPORTFORM_H
+#define IMPORTFORM_H
+
+#include "base/PropertiesFormBase.h"
+
+#include <wx/msgdlg.h>
+
+class Workspace;
+
+class ImportForm : public ImportFormBase
+{
+ public:
+ ImportForm(wxWindow* parent, Workspace* workspace);
+ virtual ~ImportForm();
+
+ Workspace* GetWorkspace() { return m_workspace; }
+
+ protected:
+ virtual void OnButtonCancelClick(wxCommandEvent& event);
+ virtual void OnButtonOKClick(wxCommandEvent& event);
+ bool ImportSelectedFiles();
+
+ Workspace* m_workspace = NULL;
+ wxWindow* m_parent;
+};
+#endif // IMPORTFORM_H