Flesh out time module

This commit is contained in:
2023-05-15 17:31:23 +01:00
parent 8be7ec1e28
commit cee2e368dc
5 changed files with 41 additions and 23 deletions

View File

@@ -0,0 +1,24 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) Camden Dixie O'Brien
*/
#ifndef TIME_MANAGER_H
#define TIME_MANAGER_H
typedef struct {
unsigned hour;
unsigned minute;
} Time;
/**
* Initialize the time module.
*/
void time_manager_init(void);
/**
* Get the current time.
*/
Time get_time(void);
#endif