File indexing completed on 2024-05-05 05:53:47

0001 /*
0002     SPDX-FileCopyrightText: 1997, 1998 Lars Doelle <lars.doelle@on-line.de>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef HISTORYTYPEFILE_H
0008 #define HISTORYTYPEFILE_H
0009 
0010 #include "HistoryType.h"
0011 #include "konsoleprivate_export.h"
0012 
0013 namespace Konsole
0014 {
0015 class KONSOLEPRIVATE_EXPORT HistoryTypeFile : public HistoryType
0016 {
0017 public:
0018     explicit HistoryTypeFile();
0019 
0020     bool isEnabled() const override;
0021     int maximumLineCount() const override;
0022 
0023     void scroll(std::unique_ptr<HistoryScroll> &) const override;
0024 };
0025 
0026 }
0027 
0028 #endif