Хранилища Subversion OpenInventory

Сравнить редакции

Учитывать пробелы Редакция 241 → Редакция 242

/trunk/DBViewer/wmithread.h
4,6 → 4,7
#include <QThread>
#include <QProcess>
#include <QMutex>
#include <QDebug>
 
class WmiThread : public QThread
{
18,6 → 19,12
QByteArray buffer(){return p_buffer;}
void clearBuffer(){p_buffer.clear();}
bool isError(){return error;}
bool isStopped(){
mutex.lock();
return stopped;
mutex.unlock();
 
};
void setWmiString(QString new_wmi_string){wmi_string = new_wmi_string;}
private:
volatile bool stopped;