summaryrefslogtreecommitdiff
path: root/src/modules/brightness.h
blob: ba43457d39f0cbaa8a11fdc34da0b2aa314be0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _DWXINFO_MODULES_BRIGHTNESS_H_
#define _DWXINFO_MODULES_BRIGHTNESS_H_

#include <time.h>
#include <stdbool.h>

struct brightness * brightness_new();
void brightness_free(struct brightness *);

void brightness_update(struct brightness *);

const char * brightness_get_val(struct brightness *);
//bool brightness_should_update(struct brightness *, time_t, unsigned short);

#endif