summaryrefslogtreecommitdiff
path: root/apps/plugins/clock/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/clock/clock.h')
-rw-r--r--apps/plugins/clock/clock.h32
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 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id: jackpot.c 14034 2007-07-28 05:42:55Z kevin $
+ *
+ * Copyright (C) 2007 Copyright Kévin Ferrare
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#ifndef _CLOCK_
+#define _CLOCK_
+#include "clock_settings.h"
+extern struct plugin_api* rb;
+
+struct time{
+ int year, day, month;
+ int hour, minute, second;
+};
+
+void format_date(char* buffer, struct time* time, enum date_format format);
+
+#endif /* _CLOCK_ */