headers/bsd: Add sys/queue.h.
[haiku.git] / src / system / boot / loader / pager.h
blob77778242abd9101f2ab8eaf04d09349bfec65d67
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
9 #include <SupportDefs.h>
12 class PagerTextSource {
13 public:
14 virtual ~PagerTextSource();
16 virtual size_t BytesAvailable() const = 0;
17 virtual size_t Read(size_t offset, void* buffer,
18 size_t size) const = 0;
22 void pager(const PagerTextSource& textSource);
25 #endif // PAGER_H