"Fossies" - the Fresh Open Source Software Archive

Member "xosview-1.23/bsd/pagemeter.h" (11 Jul 2020, 972 Bytes) of package /linux/misc/xosview-1.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "pagemeter.h" see the Fossies "Dox" file reference documentation.

    1 //
    2 //  Copyright (c) 1994, 1995 by Mike Romberg ( romberg@fsl.noaa.gov )
    3 //
    4 //  NetBSD port:
    5 //  Copyright (c) 1995, 1996, 1997-2002 by Brian Grayson (bgrayson@netbsd.org)
    6 //
    7 //  This file was written by Brian Grayson for the NetBSD and xosview
    8 //    projects.
    9 //  This file may be distributed under terms of the GPL or of the BSD
   10 //    license, whichever you choose.  The full license notices are
   11 //    contained in the files COPYING.GPL and COPYING.BSD, which you
   12 //    should have received.  If not, contact one of the xosview
   13 //    authors for a copy.
   14 //
   15 
   16 #ifndef _PAGEMETER_H_
   17 #define _PAGEMETER_H_
   18 
   19 #include "fieldmetergraph.h"
   20 #include "xosview.h"
   21 
   22 
   23 class PageMeter : public FieldMeterGraph {
   24 public:
   25     PageMeter( XOSView *parent, double total );
   26     ~PageMeter( void );
   27 
   28     const char *name( void ) const { return "PageMeter"; }
   29     void checkevent( void );
   30     void checkResources( void );
   31 
   32 protected:
   33     void getpageinfo( void );
   34 
   35 private:
   36     uint64_t previnfo_[2];
   37 };
   38 
   39 
   40 #endif