summaryrefslogtreecommitdiffstats
path: root/creator_thread.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-16 23:26:14 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-16 23:26:14 +0200
commit9894c2b26607d847b84c6b3015b71192f66e32d9 (patch)
tree060bee8d570f7f1f3f1136b9e55f24712266370d /creator_thread.h
parentad265610a696852968cb35bd7586e96c7e6029c9 (diff)
downloadalpine-usb-creator-9894c2b26607d847b84c6b3015b71192f66e32d9.tar.bz2
alpine-usb-creator-9894c2b26607d847b84c6b3015b71192f66e32d9.tar.xz
Add simple creator thread
Diffstat (limited to 'creator_thread.h')
-rw-r--r--creator_thread.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/creator_thread.h b/creator_thread.h
new file mode 100644
index 0000000..82b218b
--- /dev/null
+++ b/creator_thread.h
@@ -0,0 +1,19 @@
+#ifndef CREATOR_THREAD_H
+#define CREATOR_THREAD_H
+
+#include <wx/thread.h>
+#include "dialog.h"
+
+class CreatorThread : public wxThread
+{
+public:
+ CreatorThread(Dialog *d);
+ virtual void *Entry();
+ virtual void OnExit();
+
+protected:
+ Dialog *m_dialog;
+};
+
+#endif
+