Pager.h
musicmud-2.1.6/include/Pager.h · 417 B
From the archive musicmud2.1.6.tar.gz
Download the archive « Back to the archive contents
#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