2021-03-27 | Paul Boddie | file changeset files shortlog | Introduced generic page collection and page queue base classes, with distinct page collections and queues supporting files and pipes. |
paul@6 | 1 | #pragma once |
paul@6 | 2 | |
paul@70 | 3 | #include "page_collection.h" |
paul@70 | 4 | #include "page_queue_shared.h" |
paul@6 | 5 | |
paul@6 | 6 | |
paul@6 | 7 | |
paul@6 | 8 | /* A page collection. */ |
paul@6 | 9 | |
paul@70 | 10 | class Pages : public PageCollection |
paul@6 | 11 | { |
paul@6 | 12 | protected: |
paul@70 | 13 | PageQueueShared _page_queue; |
paul@6 | 14 | |
paul@6 | 15 | public: |
paul@6 | 16 | explicit Pages(Memory *memory); |
paul@6 | 17 | |
paul@6 | 18 | explicit Pages(); |
paul@6 | 19 | }; |
paul@6 | 20 | |
paul@6 | 21 | // vim: tabstop=4 expandtab shiftwidth=4 |