2008-07-09 00:56:57 +02:00
|
|
|
#ifndef VALIDATION_THREAD_H
|
|
|
|
#define VALIDATION_THREAD_H
|
|
|
|
|
|
|
|
#include <utility>
|
|
|
|
#include <string>
|
|
|
|
#include <wx/thread.h>
|
|
|
|
|
|
|
|
class ValidationThread : public wxThread
|
|
|
|
{
|
|
|
|
public:
|
2009-01-17 23:52:54 +01:00
|
|
|
ValidationThread (
|
|
|
|
const char *buffer,
|
|
|
|
const char *system,
|
|
|
|
const char *catalogPath,
|
|
|
|
const char *catalogUtilityPath,
|
|
|
|
bool *finished,
|
|
|
|
bool *success,
|
|
|
|
bool *release, std::pair<int, int> *position,
|
|
|
|
std::string *message );
|
2008-07-09 00:56:57 +02:00
|
|
|
virtual void *Entry();
|
|
|
|
virtual void OnExit();
|
|
|
|
private:
|
2009-01-17 23:52:54 +01:00
|
|
|
std::string myBuffer, mySystem, myCatalogPath, myCatalogUtilityPath;
|
2008-07-09 19:07:02 +02:00
|
|
|
bool *myFinishedPtr, *mySuccessPtr, *myReleasePtr;
|
2008-07-09 00:56:57 +02:00
|
|
|
std::pair<int, int> *myPositionPtr;
|
|
|
|
std::string *myMessagePtr;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|