root/foundation-apps/gmemusage-maxx/extern.h

Revision 1, 1.9 KB (checked in by emasson, 3 years ago)

initial import for the community edition

Line 
1/*
2        gmemusage
3
4        Copyright 1998, Michael Pruett
5        Copyright 1999, Mark B. Allan
6        Copyright 2000-2008, Eric Masson
7        Copyright 2008-2009, Genirix Systems
8
9        This program is free software; you can redistribute it and/or
10        modify it under the terms of the GNU General Public License
11        as published by the Free Software Foundation; either version 2
12        of the License, or (at your option) any later version.
13
14        This program is distributed in the hope that it will be useful,
15        but WITHOUT ANY WARRANTY; without even the implied warranty of
16        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17        GNU General Public License for more details.
18
19        You should have received a copy of the GNU General Public License
20        along with this program; if not, write to the Free Software
21        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
22        USA.
23*/
24/*! \file   extern.h
25 *  \brief  external symbols for global variables
26 *
27 */
28#include "process.h"
29
30#define MAX_PROCESSES 1024
31
32#ifndef TRUE
33        #define TRUE 1
34#endif
35#ifndef FALSE
36        #define FALSE 0
37#endif 
38
39
40extern long  kilobyte;
41extern long  megabyte;
42extern long  gigabyte;
43
44
45extern struct   system system_detail;
46
47extern struct   process processes[MAX_PROCESSES];
48extern int              processCount;
49extern struct   process drawProc[MAX_PROCESSES];
50extern int              drawProcCount;
51extern struct   process currentProc;
52
53extern int              g_smallTop;                     /* used for mouse picking */
54extern int              g_linuxTop;
55
56extern int              g_displayMode;
57extern int              g_displayLoad;
58extern int              g_refresh;
59extern int              g_alpha;
60extern int              g_visible;
61extern int              g_borderWidth;
62extern int              g_borderHeight;
63extern int              g_width;
64extern int              g_height;
65extern int              g_barWidth;
66extern int              g_lineWidth;
67extern int              g_lineWidthBase;
68extern int              g_refreshTime;
69extern float    g_textSpacing;
70extern float    g_connectSpace;
71extern float    g_load;
72extern unsigned int g_smallThresh;
73extern unsigned int g_smallDelta;
74
75extern int              g_drawEnhanced;
76extern int              g_drawPID;
77extern int              g_drawMem;
78extern int              g_drawText;
Note: See TracBrowser for help on using the browser.