/* This file is part of dvi2bitmap; see README for copyrights and licence */ #ifndef PAGERANGE_HEADER_READ #define PAGERANGE_HEADER_READ 1 // gcc iostream may somehow omit NULL #ifndef NULL #define NULL 0 #endif //#include #include #include "verbosity.h" class PageRange { public: PageRange(); bool addSpec(const char, const char *); bool isSelected (const int, const int*); static void verbosity (const verbosities level) { verbosity_ = level; }; private: bool useCounts_; int useCountNo_; int first_, last_; enum { oneRange, ranges, unset } rangeType_; static verbosities verbosity_; std::map setPages_; }; #endif