clearcasesync.h 672 Bytes
Newer Older
Orgad Shaneh's avatar
Orgad Shaneh committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#ifndef CLEARCASESYNC_H
#define CLEARCASESYNC_H

#include "clearcaseplugin.h"

namespace ClearCase {
namespace Internal {

class ClearCaseSync : public QObject
{
    Q_OBJECT
public:
    explicit ClearCaseSync(ClearCasePlugin *plugin, QSharedPointer<StatusMap> statusMap);
    void run(QFutureInterface<void> &future, const QString &topLevel, QStringList &files);

signals:
    void updateStreamAndView();
    void setStatus(const QString &file, ClearCase::Internal::FileStatus::Status status, bool update);

private:
    ClearCasePlugin *m_plugin;
    QSharedPointer<StatusMap> m_statusMap;
};

} // namespace Internal
} // namespace ClearCase

#endif // CLEARCASESYNC_H