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 // Own
0008 #include "HistoryScrollNone.h"
0009 
0010 #include "HistoryTypeNone.h"
0011 
0012 using namespace Konsole;
0013 
0014 // History Scroll None //////////////////////////////////////
0015 
0016 HistoryScrollNone::HistoryScrollNone()
0017     : HistoryScroll(new HistoryTypeNone())
0018 {
0019 }
0020 
0021 HistoryScrollNone::~HistoryScrollNone() = default;
0022 
0023 bool HistoryScrollNone::hasScroll() const
0024 {
0025     return false;
0026 }
0027 
0028 int HistoryScrollNone::getLines() const
0029 {
0030     return 0;
0031 }
0032 
0033 int HistoryScrollNone::getMaxLines() const
0034 {
0035     return 0;
0036 }
0037 
0038 int HistoryScrollNone::getLineLen(int) const
0039 {
0040     return 0;
0041 }
0042 
0043 bool HistoryScrollNone::isWrappedLine(int /*lineno*/) const
0044 {
0045     return false;
0046 }
0047 
0048 LineProperty HistoryScrollNone::getLineProperty(int /*lineno*/) const
0049 {
0050     return LineProperty();
0051 }
0052 
0053 void HistoryScrollNone::setLineProperty(int /*lineno*/, LineProperty /*prop*/)
0054 {
0055 }
0056 
0057 void HistoryScrollNone::getCells(int, int, int, Character[]) const
0058 {
0059 }
0060 
0061 void HistoryScrollNone::addCells(const Character[], int)
0062 {
0063 }
0064 
0065 void HistoryScrollNone::addCellsMove(Character[], int)
0066 {
0067 }
0068 
0069 void HistoryScrollNone::addLine(LineProperty)
0070 {
0071 }
0072 
0073 void HistoryScrollNone::removeCells()
0074 {
0075 }
0076 
0077 int Konsole::HistoryScrollNone::reflowLines(const int, std::map<int, int> *)
0078 {
0079     return 0;
0080 }