Added empty methods and declaration for all needed status bar function

This commit is contained in:
_N0x 2021-10-24 00:44:05 +02:00
parent 46c6af23c3
commit 8e8c666b78

View File

@ -31,6 +31,11 @@ enum Icon { ICON_DATETIME, ICON_BATTERY, ICON_CPU, ICON_RAM, ICON_DISK,
/* function declaration */ /* function declaration */
char *concat_string (int count, ...); char *concat_string (int count, ...);
char *get_battery ();
char *get_cpu_utilization ();
char *get_datetime ();
char *get_disk_utilization ();
char *get_memory_utilization ();
char *get_networkspeed (); char *get_networkspeed ();
char *get_networkinfo (); char *get_networkinfo ();
char *make_stat_item (enum Icon icon, char *val); char *make_stat_item (enum Icon icon, char *val);
@ -69,6 +74,53 @@ char
return result; return result;
} }
// @TODO
/* The current battery percentage */
char
*get_battery ()
{
return NULL;
}
// @TODO
/* The current CPU utilization */
char
*get_cpu_utilization ()
{
return NULL;
}
// @TODO
/* The Datetime */
char
*get_datetime ()
{
return NULL;
}
// @TODO
/* The current Disk utilization
* return root ("/") and home ("/home") utilization */
char
*get_disk_utilization ()
{
return NULL;
}
// @TODO
/* The current RAM utilization */
char
*get_memory_utilization ()
{
return NULL;
}
// @TODO // @TODO
/* Read in the IP and display it /* Read in the IP and display it
* maybe from /proc/net/fib_trie ?*/ * maybe from /proc/net/fib_trie ?*/