aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/qtcsettings_p.h
blob: f512086e5618f51c005292ad8b92326b193438f5 (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) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include "qtcsettings.h"

class tst_PluginManager;
int main(int, char *[]);

namespace Utils::Internal {

class QTCREATOR_UTILS_EXPORT SettingsSetup final
{
    // Restrict access to items that need it.
    friend int ::main(int, char*[]);
    friend class ::tst_PluginManager;

    static void setupSettings(QtcSettings *userSettings, QtcSettings *installSettings);
    static void destroySettings();
};

} // Utils::Internal