summaryrefslogtreecommitdiff
path: root/src/text.h
blob: 752d15f4e81c7e322ae8513f5249dc7377f4614b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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