Add alarms component

This commit is contained in:
2023-05-18 01:29:17 +01:00
parent d7dd2025b8
commit 0d12bb7445
8 changed files with 227 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) Camden Dixie O'Brien
*/
#ifndef ALARMS_H
#define ALARMS_H
/**
* Intialize the alarms subsystem, loading any saved alarms from
* storage.
*/
void alarms_init(void);
/**
* Snooze the current alarm (if any).
*/
void alarm_snooze(void);
/**
* Dismiss the current alarm (if any).
*/
void alarm_dismiss(void);
#endif