#ifndef YC_PRESENTER_H
#define YC_PRESENTER_H

#include "Drv/pages/YC/model.h"
#include "Drv/pages/YC/view.h"

typedef struct presenter_t presenter_t;

typedef struct presenter_t {
    model_t *model;
    view_t *view;
    uint16_t cursor_row;
    void (*handle_input)(presenter_t *presenter, uint8_t keyVal);
    void (*refresh)(presenter_t *presenter);
    void (*refresh_values)(presenter_t *presenter);
} presenter_t;

void Presenter_Init(presenter_t *presenter, model_t *model, view_t *view);
#endif