1 /* 2 This file is part of the Okteta Kasten module, made within the KDE community. 3 4 SPDX-FileCopyrightText: 2007-2008 Friedrich W. H. Kossebau <kossebau@kde.org> 5 6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 7 */ 8 9 #ifndef KASTEN_BYTEARRAYSELECTION_HPP 10 #define KASTEN_BYTEARRAYSELECTION_HPP 11 12 // lib 13 #include "oktetakastencore_export.hpp" 14 // Kasten core 15 #include <Kasten/AbstractModelSelection> 16 // Okteta core 17 #include <Okteta/AddressRange> 18 19 namespace Kasten { 20 21 class OKTETAKASTENCORE_EXPORT ByteArraySelection : public AbstractModelSelection 22 { 23 public: 24 ByteArraySelection(); 25 ~ByteArraySelection() override; 26 27 public: 28 void setRange(const Okteta::AddressRange& range); 29 30 public: 31 Okteta::AddressRange range() const; 32 bool isValid() const; 33 34 private: 35 Okteta::AddressRange mRange; 36 }; 37 38 } 39 40 #endif 41