aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilersettings.h
blob: 0336aee31a7b5f615ed271cc759e6c50ca38d7c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <utils/aspects.h>

namespace QmlProfiler::Internal {

class QmlProfilerSettings : public Utils::AspectContainer
{
public:
    QmlProfilerSettings();

    Utils::BoolAspect flushEnabled{this};
    Utils::IntegerAspect flushInterval{this};
    Utils::FilePathAspect lastTraceFile{this};
    Utils::BoolAspect aggregateTraces{this};
};

QmlProfilerSettings &globalSettings();

} // QmlProfiler::Internal