Made GitClient a Qt-Object.
This commit is contained in:
parent
9df425f5f8
commit
aeae9002fe
@ -1,15 +1,21 @@
|
|||||||
#ifndef GIT_CLIENT_H_INCLUDED
|
#ifndef GIT_CLIENT_H_INCLUDED
|
||||||
#define GIT_CLIENT_H_INCLUDED
|
#define GIT_CLIENT_H_INCLUDED
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
#include "process/command.h"
|
#include "process/command.h"
|
||||||
|
|
||||||
|
class Worker;
|
||||||
|
class GitClient : public QObject {
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
class GitClient {
|
Worker *m_worker;
|
||||||
QString m_workingDirectory;
|
QString const m_repositoryPath;
|
||||||
QString m_branchName;
|
QString const m_customerId;
|
||||||
|
QString const m_workingDirectory;
|
||||||
|
QString const m_branchName;
|
||||||
|
QString const m_customerRepository;
|
||||||
|
|
||||||
std::optional<QString> gitCloneRepository(QString const &repPath);
|
std::optional<QString> gitCloneRepository(QString const &repPath);
|
||||||
bool gitCheckout(QString const &branchName);
|
bool gitCheckout(QString const &branchName);
|
||||||
|
Loading…
Reference in New Issue
Block a user