summaryrefslogtreecommitdiffstats
path: root/creator_thread.h
blob: c8f6c2245e534b8666d71b2dceea63ba72b5cf47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef CREATOR_THREAD_H
#define CREATOR_THREAD_H

#include <wx/filename.h>
#include <wx/thread.h>
#include "dialog.h"

class CreatorThread : public wxThread
{
public:
	CreatorThread(Dialog *d, const wxString &iso, const wxString &target);
	~CreatorThread();
	virtual void *Entry();
	virtual void OnExit();

protected:
	Dialog *m_dialog;
	wxFileName *m_source;
	wxFileName *m_target;
	wxFileName *m_current_file;
	size_t m_total_bytes;
	size_t m_unpacked_bytes;
};

#endif