#ifndef PAGER_H #define PAGER_H //! The state of the pager. class PagerState : public PersonState { mutable FILE *f; bool do_pclose; public: PagerState(FILE *f, bool=false); bool display(Player *); int percent() const; void reset(); virtual ~PagerState(); }; void state_pager(Player *who, const char *what); void register_pager(); extern bool (*pagerstate_display)(FILE *, Player*, PagerState *p); #endif