mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-05-30 19:09:14 -04:00
29 lines
657 B
C++
29 lines
657 B
C++
// Copyright (C) 2024-2026 Petr Mironychev
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <utils/aspects.h>
|
|
|
|
namespace ProjectExplorer {
|
|
class Project;
|
|
}
|
|
|
|
namespace QodeAssist::Settings {
|
|
|
|
class ProjectSettings : public Utils::AspectContainer
|
|
{
|
|
public:
|
|
explicit ProjectSettings(ProjectExplorer::Project *project);
|
|
void save(ProjectExplorer::Project *project);
|
|
|
|
void setUseGlobalSettings(bool useGlobalSettings);
|
|
bool isEnabled() const;
|
|
|
|
Utils::BoolAspect enableQodeAssist{this};
|
|
Utils::BoolAspect useGlobalSettings{this};
|
|
Utils::FilePathAspect chatHistoryPath{this};
|
|
};
|
|
|
|
} // namespace QodeAssist::Settings
|