#include "History.h"
Public Member Functions | |
HistoryTypeBuffer (unsigned int nbLines) | |
virtual bool | isEnabled () const |
Returns true if the history is enabled ( can store lines of output ) or false otherwise. More... | |
bool | isUnlimited () const |
Returns true if the history size is unlimited. More... | |
virtual int | maximumLineCount () const |
Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines. More... | |
virtual HistoryScroll * | scroll (HistoryScroll *) const |
Protected Attributes | |
unsigned int | m_nbLines |
HistoryTypeBuffer::HistoryTypeBuffer | ( | unsigned int | nbLines | ) |
Definition at line 588 of file History.cpp.
|
virtual |
Returns true if the history is enabled ( can store lines of output ) or false otherwise.
Implements HistoryType.
Definition at line 593 of file History.cpp.
|
inlineinherited |
Returns true if the history size is unlimited.
Definition at line 264 of file History.h.
References HistoryType::maximumLineCount().
|
virtual |
Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines.
Implements HistoryType.
Definition at line 598 of file History.cpp.
References m_nbLines.
|
virtual |
Implements HistoryType.
Definition at line 603 of file History.cpp.
References HistoryScroll::addCells(), HistoryScroll::addLine(), HistoryScroll::getCells(), HistoryScroll::getLineLen(), HistoryScroll::getLines(), HistoryScroll::isWrappedLine(), LINE_SIZE, m_nbLines, and HistoryScrollBuffer::setMaxNbLines().
|
protected |
Definition at line 327 of file History.h.
Referenced by maximumLineCount(), and scroll().