File indexing completed on 2024-05-12 04:38:19

0001 /*
0002     SPDX-FileCopyrightText: 2006 Matt Rogers <mattr@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_SESSIONCONFIGSKELETON_H
0008 #define KDEVPLATFORM_SESSIONCONFIGSKELETON_H
0009 
0010 #include "../core.h"
0011 #include "../session.h"
0012 
0013 #include <KConfigSkeleton>
0014 
0015 namespace KDevelop
0016 {
0017 
0018 class SessionConfigSkeleton : public KConfigSkeleton
0019 {
0020 public:
0021     explicit SessionConfigSkeleton( const QString& )
0022         : KConfigSkeleton( Core::self()->activeSession()->config() )
0023     {
0024     }
0025 };
0026 
0027 }
0028 
0029 #endif