Хранилища Subversion OpenInventory

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

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

/trunk/DBViewer/wmithread.h
4,7 → 4,6
#include <QThread>
#include <QProcess>
#include <QMutex>
#include <QDebug>
 
class WmiThread : public QThread
{
19,17 → 18,11
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;
volatile bool error;
QProcess process;
QProcess process;
QString host;
QString user_name;
QString password;