summaryrefslogtreecommitdiffstats
path: root/dialog.cpp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-15 15:58:55 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-16 19:43:23 +0200
commit5fac4f2baf2eb08948ceb0abdca18510de8fbdd5 (patch)
treec7559f4ba2cc0927eee323b7d67de513e69e58b3 /dialog.cpp
downloadalpine-usb-creator-5fac4f2baf2eb08948ceb0abdca18510de8fbdd5.tar.bz2
alpine-usb-creator-5fac4f2baf2eb08948ceb0abdca18510de8fbdd5.tar.xz
Initial commit
Diffstat (limited to 'dialog.cpp')
-rw-r--r--dialog.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/dialog.cpp b/dialog.cpp
new file mode 100644
index 0000000..9af2f3b
--- /dev/null
+++ b/dialog.cpp
@@ -0,0 +1,31 @@
+#include <unistd.h>
+
+#include <wx/msgdlg.h>
+
+#include "dialog.h"
+
+Dialog::Dialog(wxWindow *parent)
+ : DialogUI(parent)
+{
+ RefreshDrives();
+}
+
+void Dialog::RefreshDrives(void)
+{
+ wxMessageBox(wxT("To be implemented"));
+}
+
+void Dialog::OnRefreshDrives(wxCommandEvent &event)
+{
+ RefreshDrives();
+}
+
+void Dialog::OnStartButton(wxCommandEvent &event)
+{
+ wxMessageBox(wxT("To be implemented"));
+}
+
+void Dialog::OnCancelButton(wxCommandEvent &event)
+{
+ Close();
+}