File indexing completed on 2024-04-21 16:33:50

0001 /*
0002     This file is part of the Okteta Core library, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2003 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_ADDRESSRANGELIST_HPP
0010 #define OKTETA_ADDRESSRANGELIST_HPP
0011 
0012 // lib
0013 #include "addressrange.hpp"
0014 // Qt
0015 #include <QLinkedList>
0016 
0017 namespace Okteta {
0018 
0019 /**
0020    @author Friedrich W. H.  Kossebau
0021  */
0022 class AddressRangeList : public QLinkedList<AddressRange>
0023 {
0024 public:
0025     AddressRangeList();
0026     AddressRangeList(const AddressRangeList&);
0027 
0028     ~AddressRangeList();
0029 
0030     AddressRangeList& operator=(const AddressRangeList&) = delete;
0031 
0032 public:
0033     void addAddressRange(const AddressRange& addressRange);
0034     void addAddressRangeList(const AddressRangeList& addressRangeList);
0035 };
0036 
0037 }
0038 
0039 #endif