"Fossies" - the Fresh Open Source Software Archive

Member "xosview-1.23/irix65/diskmeter.h" (11 Jul 2020, 490 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 "diskmeter.h" see the Fossies "Dox" file reference documentation.

    1 //  
    2 //  Initial port performed by Stefan Eilemann (eilemann@gmail.com)
    3 //
    4 
    5 #ifndef _DISKMETER_H_
    6 #define _DISKMETER_H_
    7 
    8 #include "fieldmetergraph.h"
    9 
   10 class DiskMeter : public FieldMeterGraph 
   11 {
   12 public:
   13     DiskMeter( XOSView *parent, float max );
   14     ~DiskMeter( void );
   15     
   16     const char *name( void ) const { return "DiskMeter"; }
   17     void checkevent( void );
   18     
   19     void checkResources( void );
   20 protected:
   21     
   22     void getdiskinfo( void );
   23 private:
   24     float maxspeed_;
   25 };
   26 
   27 #endif