diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-03-26 15:54:26 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-03-26 15:54:26 -0300 |
commit | 64ed394cdc4b3347768c2e1996518f02982b2ef5 (patch) | |
tree | 98248f9c8120cb3c04cadc14b68f0415bd7f6568 /Project/ImportForm.h | |
parent | e5a5041915127e72820a0478724a20dc41f0327e (diff) | |
download | PSP.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.h | 26 |
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 |