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

30 lines
810 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:
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 );
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;
std::pair<int, int> *myPositionPtr;
std::string *myMessagePtr;
};
#endif