summaryrefslogtreecommitdiff
path: root/fw/fe310/phone/phone.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-04 18:37:42 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-04 18:37:42 +0200
commitfc98d3809e0db36d634f290417b9152f87f83e3e (patch)
treed7c0cbb883571dccfcd4028d8b7b2a2144fc2d2b /fw/fe310/phone/phone.h
parent07e6abe5d5a1813298805bea2bf9d62ad895aaaa (diff)
new phone firmware
Diffstat (limited to 'fw/fe310/phone/phone.h')
-rw-r--r--fw/fe310/phone/phone.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fw/fe310/phone/phone.h b/fw/fe310/phone/phone.h
new file mode 100644
index 0000000..c7f8a82
--- /dev/null
+++ b/fw/fe310/phone/phone.h
@@ -0,0 +1,9 @@
+#define PHONE_STATE_IDLE 0
+#define PHONE_STATE_DIAL 1
+#define PHONE_STATE_RING 2
+#define PHONE_STATE_CIP 3
+
+int phone_app(EVEWindow *window, EVEViewStack *stack);
+int phone_uievt(EVEPage *page, uint16_t evt, void *param);
+void phone_close(EVEPage *page);
+void phone_init(void); \ No newline at end of file