1/* 2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef PAGER_H 6#define PAGER_H 7 8 9#include <SupportDefs.h> 10 11 12class PagerTextSource { 13public: 14 virtual ~PagerTextSource(); 15 16 virtual size_t BytesAvailable() const = 0; 17 virtual size_t Read(size_t offset, void* buffer, 18 size_t size) const = 0; 19}; 20 21 22void pager(const PagerTextSource& textSource); 23 24 25#endif // PAGER_H 26