xml-copy-editor-code/src/validationthread.h

22 lines
548 B
C
Raw Normal View History

#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 );
virtual void *Entry();
virtual void OnExit();
private:
std::string myBuffer, mySystem;
2008-07-09 19:07:02 +02:00
bool *myFinishedPtr, *mySuccessPtr, *myReleasePtr;
std::pair<int, int> *myPositionPtr;
std::string *myMessagePtr;
};
#endif