Defined the first states in ncdu.h

This commit is contained in:
Yorhel 2009-04-08 19:09:24 +02:00
parent e45afea1d6
commit c89686a8ab

View file

@ -116,6 +116,12 @@
#define BF_AS 0x40 /* show apparent sizes instead of disk usage */ #define BF_AS 0x40 /* show apparent sizes instead of disk usage */
#define BF_INFO 0x80 /* show file information window */ #define BF_INFO 0x80 /* show file information window */
/* States */
#define ST_CALC 0
#define ST_BROWSE 1
#define ST_DEL 2
#define ST_HELP 3
/* /*
@ -129,6 +135,12 @@ struct dir {
unsigned char flags; unsigned char flags;
}; };
struct state {
int st; /* SC_x */
/* TODO: information structs for the states */
};
/* /*
* G L O B A L V A R I A B L E S * G L O B A L V A R I A B L E S