/*
 * Copyright (C) 2009-2010  Lorenzo Bettini <http://www.lorenzobettini.it>
 * See COPYING file that comes with this distribution
 */

#ifndef STEPCONDITIONVARIABLE_H
#define STEPCONDITIONVARIABLE_H

#include <QWaitCondition>

class StepConditionVariable : public QWaitCondition {
public:
    bool waitStep;

    bool stop;

    StepConditionVariable() : waitStep(true), stop(false) {}

    void reset() { waitStep = true; stop = false; }
};

#endif // STEPCONDITIONVARIABLE_H
