1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef CVSKEEPER_H
6#define CVSKEEPER_H
7
8#include <QObject>
9
10class SvnClientWidget;
11class GitQlientWidget;
12class CVSkeeper final: public QObject
13{
14 Q_OBJECT
15 Q_DISABLE_COPY(CVSkeeper)
16 explicit CVSkeeper(QObject *parent = nullptr);
17
18public:
19 static CVSkeeper *instance();
20 void openRepos(const QString &repoPath);
21 SvnClientWidget *svnMainWidget();
22 GitQlientWidget *gitMainWidget();
23
24private:
25 SvnClientWidget *svnReposWidget;
26 GitQlientWidget *gitReposWidget;
27};
28
29#endif // CVSKEEPER_H
30