//
// Header file for "xdf"
// by Georg C. F. Greve
//
//

/*{{{  Class definitions  */
class Partition{
public:
  Partition(){name = 0; item = 0; last_value = 0; status = TRUE; max_value = 0; last_max_value = 0; last_value = 0;};
  ~Partition(){if (name != 0) delete name;};

public:
  char* name;
  char fullstring[20];
  char panelname[25];
  Panel_item name_item;
  Panel_item item;
  Panel_item mount_item;
  int status;
  int last_status;
  long max_value;
  long last_value;
  long last_max_value;
};
/*}}}*/

/*{{{  Variables  */
char* prgname;
FILE* fstab;
FILE* mtab;
struct mntent* table;
struct statfs stat_buffer;
int mountpoints;
Partition* par_table[50];
struct itimerval timer;

/* XView stuff  */
Frame frame;
Panel panel;



/*}}}*/

/*{{{  Subroutines  */
void quit();
inline void create_label(char*,const long);
Notify_value timer_routine();
/*}}}*/
