Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'applications/gui/gui_event.h')
-rw-r--r--applications/gui/gui_event.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/gui/gui_event.h b/applications/gui/gui_event.h
index fc2f358f..d9846867 100644
--- a/applications/gui/gui_event.h
+++ b/applications/gui/gui_event.h
@@ -3,6 +3,10 @@
#include <stdint.h>
#include <input/input.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum {
GuiMessageTypeRedraw = 0x00,
GuiMessageTypeInput = 0x01,
@@ -23,3 +27,7 @@ void gui_event_free(GuiEvent* gui_event);
void gui_event_messsage_send(GuiEvent* gui_event, GuiMessage* message);
GuiMessage gui_event_message_next(GuiEvent* gui_event);
+
+#ifdef __cplusplus
+}
+#endif