File indexing completed on 2024-06-16 05:24:54

0001 /*
0002     This file is part of the Okteta Kasten module, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2009 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 KASTEN_ABSTRACTDIFFERENTSIZEDIALOG_HPP
0010 #define KASTEN_ABSTRACTDIFFERENTSIZEDIALOG_HPP
0011 
0012 // Kasten core
0013 #include <Kasten/KastenCore>
0014 
0015 namespace Kasten {
0016 
0017 class AbstractDifferentSizeDialog
0018 {
0019 protected:
0020     AbstractDifferentSizeDialog();
0021 
0022 public:
0023     virtual ~AbstractDifferentSizeDialog();
0024 
0025 public: // API to be implemented
0026     virtual Answer query(int newValueSize, int oldValueSize, int sizeLeft) = 0;
0027 };
0028 
0029 inline AbstractDifferentSizeDialog::AbstractDifferentSizeDialog() = default;
0030 inline AbstractDifferentSizeDialog::~AbstractDifferentSizeDialog() = default;
0031 
0032 }
0033 
0034 #endif