| 123456789101112131415161718192021 |
- #pragma once
- #include "config.h"
- #include "wrappedBuffer.hpp"
- class LinearHistory: public WrappedBuffer<char, ERROR_HISTORY_LEN>
- {
- public:
- LinearHistory();
- ~LinearHistory();
- unsigned int currentLine() const;
- void put(char item);
- void put(char item[], unsigned int count);
- private:
- bool willReset;
- unsigned int line;
- };
|