2021-03-31 | Paul Boddie | raw annotate files changeset graph | Removed the largely superfluous accessing abstraction. Since each accessor will only employ one page mapper referencing the accessor, a mapping from file identifiers to page mappers can be maintained. |
1 #pragma once 2 3 #include "flexpage.h" 4 5 /* The owner of a flexpage. */ 6 7 class PageOwner 8 { 9 public: 10 virtual ~PageOwner() 11 { 12 } 13 14 virtual void fill(Flexpage *flexpage) 15 { 16 (void) flexpage; 17 } 18 19 virtual void flush(Flexpage *flexpage, bool purge) 20 { 21 (void) flexpage; (void) purge; 22 } 23 24 virtual void remove(Flexpage *flexpage) 25 { 26 (void) flexpage; 27 } 28 }; 29 30 // vim: tabstop=4 expandtab shiftwidth=4