File indexing completed on 2024-06-23 05:49:19
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2007-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 KASTEN_ABSTRACTMODELSELECTION_HPP 0010 #define KASTEN_ABSTRACTMODELSELECTION_HPP 0011 0012 // lib 0013 #include "kastencore_export.hpp" 0014 // Std 0015 #include <memory> 0016 0017 namespace Kasten { 0018 0019 class KASTENCORE_EXPORT AbstractModelSelection 0020 { 0021 protected: 0022 AbstractModelSelection(); 0023 0024 public: 0025 AbstractModelSelection(const AbstractModelSelection&) = delete; 0026 virtual ~AbstractModelSelection(); 0027 0028 AbstractModelSelection& operator=(const AbstractModelSelection&) = delete; 0029 0030 public: // API to be implemented 0031 // virtual bool isValid() const = 0; 0032 0033 private: 0034 const std::unique_ptr<class AbstractModelSelectionPrivate> d_ptr; 0035 }; 0036 0037 } 0038 0039 #endif