diff options
Diffstat (limited to 'apps/plugins/clock/clock.h')
-rw-r--r-- | apps/plugins/clock/clock.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugins/clock/clock.h b/apps/plugins/clock/clock.h new file mode 100644 index 0000000000..bd5b74fa56 --- /dev/null +++ b/apps/plugins/clock/clock.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: jackpot.c 14034 2007-07-28 05:42:55Z kevin $ | ||
9 | * | ||
10 | * Copyright (C) 2007 Copyright Kévin Ferrare | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef _CLOCK_ | ||
21 | #define _CLOCK_ | ||
22 | #include "clock_settings.h" | ||
23 | extern struct plugin_api* rb; | ||
24 | |||
25 | struct time{ | ||
26 | int year, day, month; | ||
27 | int hour, minute, second; | ||
28 | }; | ||
29 | |||
30 | void format_date(char* buffer, struct time* time, enum date_format format); | ||
31 | |||
32 | #endif /* _CLOCK_ */ | ||