summaryrefslogtreecommitdiff
path: root/wmiistatus.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael+x200@stapelberg.de>2008-10-07 11:45:52 +0200
committerMichael Stapelberg <michael+x200@stapelberg.de>2008-10-07 11:45:52 +0200
commit7fa8c4b9a954647db79f79b78b33d79c00acd250 (patch)
treecdd25efa79a1c098ea2daf963ba2d2b4c951703d /wmiistatus.h
parente94e25208936ab8f6ab684b1b229bc29073b955d (diff)
Write information in separate files, define order
wmii will show them with little border between, better than the previous method, where an ascii bar was shown
Diffstat (limited to 'wmiistatus.h')
-rw-r--r--wmiistatus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wmiistatus.h b/wmiistatus.h
index 1e7f59f..9836dff 100644
--- a/wmiistatus.h
+++ b/wmiistatus.h
@@ -5,7 +5,9 @@ static bool first_push = true;
typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t;
-static void write_to_statusbar(const char *message);
+static void cleanup_rbar_dir(void);
+static void write_to_statusbar(const char *name, const char *message);
+static void write_error_to_statusbar(const char *message);
static void die(const char *fmt, ...);
static char *skip_character(char *input, char character, int amount);
static void push_part(const char *input, const int n);