"Fossies" - the Fresh Open Source Software Archive 
Member "xosview-1.23/bsd/swapmeter.h" (11 Jul 2020, 834 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 "swapmeter.h" see the
Fossies "Dox" file reference documentation.
1 //
2 // Copyright (c) 1995, 1996, 1997-2002 by Brian Grayson (bgrayson@netbsd.org)
3 //
4 // This file was written by Brian Grayson for the NetBSD and xosview
5 // projects.
6 // This file may be distributed under terms of the GPL or of the BSD
7 // license, whichever you choose. The full license notices are
8 // contained in the files COPYING.GPL and COPYING.BSD, which you
9 // should have received. If not, contact one of the xosview
10 // authors for a copy.
11 //
12
13 #ifndef _SWAPMETER_H_
14 #define _SWAPMETER_H_
15
16 #include "fieldmetergraph.h"
17 #include "xosview.h"
18
19
20 class SwapMeter : public FieldMeterGraph {
21 public:
22 SwapMeter( XOSView *parent );
23 ~SwapMeter( void );
24
25 const char *name( void ) const { return "SwapMeter"; }
26 void checkevent( void );
27 void checkResources( void );
28
29 protected:
30 void getswapinfo( void );
31 };
32
33
34 #endif