mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-27 13:13:07 +00:00
22 lines
461 B
C
22 lines
461 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
typedef struct BarcodeApp BarcodeApp;
|
|
|
|
typedef struct {
|
|
View* view;
|
|
BarcodeApp* barcode_app;
|
|
} MessageView;
|
|
|
|
typedef struct {
|
|
const char* message;
|
|
} MessageViewModel;
|
|
|
|
MessageView* message_view_allocate(BarcodeApp* barcode_app);
|
|
|
|
void message_view_free_model(MessageView* message_view_object);
|
|
|
|
void message_view_free(MessageView* message_view_object);
|
|
|
|
View* message_get_view(MessageView* message_view_object);
|