| 1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- #include <gui/scene_manager.h>
- #include <gui/view_dispatcher.h>
- #include <gui/modules/button_menu.h>
- #include <gui/modules/dialog_ex.h>
- #include <storage/storage.h>
- #include <notification/notification_messages.h>
- #include "item.h"
- #define QUAC_NAME "Quac!"
- #define TAG "Quac" // log statement id
- // Location of our actions and folders
- #define QUAC_PATH "apps_data/quac"
- // Full path to actions
- #define QUAC_DATA_PATH EXT_PATH(QUAC_PATH)
- typedef struct App {
- SceneManager* scene_manager;
- ViewDispatcher* view_dispatcher;
- ButtonMenu* btn_menu;
- DialogEx* dialog;
- Storage* storage;
- NotificationApp* notifications;
- int depth;
- ItemsView* items_view;
- int selected_item;
- } App;
- App* app_alloc();
- void app_free(App* app);
|