File indexing completed on 2024-04-28 05:52:37

0001 /*
0002     This file is part of the Okteta Gui library, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2021 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_TAPNAVIGATOR_HPP
0010 #define OKTETA_TAPNAVIGATOR_HPP
0011 
0012 class QTapGesture;
0013 
0014 namespace Okteta {
0015 class AbstractByteArrayView;
0016 
0017 class TapNavigator
0018 {
0019 public:
0020     explicit TapNavigator(AbstractByteArrayView* view);
0021     TapNavigator(const TapNavigator&) = delete;
0022 
0023     ~TapNavigator() = default;
0024 
0025     TapNavigator& operator=(const TapNavigator&) = delete;
0026 
0027 public:
0028     bool handleTapGesture(QTapGesture* tapGesture);
0029 
0030 private:
0031     AbstractByteArrayView* mView;
0032 };
0033 
0034 }
0035 
0036 #endif