File indexing completed on 2024-04-14 15:52:44
0001 /* 0002 This file is part of the Okteta Core library, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef OKTETA_CHANGESDESCRIBABLE_HPP 0010 #define OKTETA_CHANGESDESCRIBABLE_HPP 0011 0012 // Qt 0013 #include <QtPlugin> 0014 #include <QString> 0015 0016 namespace Okteta { 0017 0018 class ChangesDescribable 0019 { 0020 public: 0021 virtual ~ChangesDescribable(); 0022 0023 public: // set/action 0024 virtual void openGroupedChange(const QString& description = QString()) = 0; 0025 virtual void cancelGroupedChange() = 0; 0026 virtual void closeGroupedChange(const QString& description = QString()) = 0; 0027 0028 public: // get 0029 0030 public: // signal 0031 }; 0032 0033 inline ChangesDescribable::~ChangesDescribable() = default; 0034 0035 } 0036 0037 Q_DECLARE_INTERFACE(Okteta::ChangesDescribable, "org.kde.okteta.changesdescribable/1.0") 0038 0039 #endif