mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-18 03:28:40 -09:00
Defined the first states in ncdu.h
This commit is contained in:
parent
e45afea1d6
commit
c89686a8ab
1 changed files with 13 additions and 1 deletions
12
src/ncdu.h
12
src/ncdu.h
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue