blob: 344c31d6c9f8ec9a0a33f3233683bb88a42f7706 (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// Copyright (C) 2016 AudioCodes Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/filepath.h>
#include <utils/storekey.h>
#include <QHash>
namespace Utils { class QtcSettings; }
namespace ClearCase::Internal {
enum DiffType
{
GraphicalDiff,
ExternalDiff
};
class ClearCaseSettings
{
public:
ClearCaseSettings();
void fromSettings(Utils::QtcSettings *);
void toSettings(Utils::QtcSettings *) const;
bool equals(const ClearCaseSettings &s) const;
friend bool operator==(const ClearCaseSettings &p1, const ClearCaseSettings &p2)
{ return p1.equals(p2); }
friend bool operator!=(const ClearCaseSettings &p1, const ClearCaseSettings &p2)
{ return !p1.equals(p2); }
QString ccCommand;
Utils::FilePath ccBinaryPath;
DiffType diffType = GraphicalDiff;
QString diffArgs;
QString indexOnlyVOBs;
QHash<Utils::Key, int> totalFiles;
bool autoAssignActivityName = true;
bool autoCheckOut = true;
bool noComment = false;
bool keepFileUndoCheckout = true;
bool disableIndexer = false;
bool extDiffAvailable = false;
int historyCount;
int timeOutS;
};
} // ClearCase::Internal
|