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:
|
2008-07-09 19:07:02 +02:00
|
|
|
ValidationThread ( const char *buffer, const char *system, 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:
|
|
|
|
std::string myBuffer, mySystem;
|
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
|