summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
new file mode 100644
index 0000000..752d15f
--- /dev/null
+++ b/src/text.h
@@ -0,0 +1,21 @@
+#ifndef _DWXINFO_TEXT_H_
+#define _DWXINFO_TEXT_H_
+
+#include <stdio.h>
+
+#define TEXT_SIZE 512
+
+struct text {
+ char value[TEXT_SIZE];
+
+ struct battery * battery;
+ struct pulse * pulse;
+ struct time * time;
+};
+
+struct text * text_new();
+void text_free(struct text *);
+
+void text_update(struct text *);
+
+#endif