File indexing completed on 2024-05-12 04:37:31

0001 /*
0002     SPDX-FileCopyrightText: 2020 Friedrich W. H. Kossebau <kossebau@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVELOPSESSIONDATA_H
0008 #define KDEVELOPSESSIONDATA_H
0009 
0010 // Qt
0011 #include <QMetaType>
0012 #include <QString>
0013 
0014 struct KDevelopSessionData
0015 {
0016     QString id;
0017     QString name;
0018     QString description;
0019 
0020     bool operator==(const KDevelopSessionData& other) const
0021     {
0022         return id == other.id && name == other.name && description == other.description;
0023     }
0024 };
0025 
0026 Q_DECLARE_METATYPE(KDevelopSessionData)
0027 Q_DECLARE_TYPEINFO(KDevelopSessionData, Q_MOVABLE_TYPE);
0028 
0029 #endif