2023-06-02 16:42:58 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gui/view.h>
|
|
|
|
#include "../helpers/fuzzer_custom_event.h"
|
2023-06-02 20:33:28 +03:00
|
|
|
#include "../helpers/fuzzer_types.h"
|
2023-06-02 16:42:58 +03:00
|
|
|
|
|
|
|
typedef struct FuzzerViewMain FuzzerViewMain;
|
|
|
|
|
|
|
|
typedef void (*FuzzerViewMainCallback)(FuzzerCustomEvent event, void* context);
|
|
|
|
|
|
|
|
void fuzzer_view_main_set_callback(
|
|
|
|
FuzzerViewMain* fuzzer_view_main,
|
|
|
|
FuzzerViewMainCallback callback,
|
|
|
|
void* context);
|
|
|
|
|
|
|
|
FuzzerViewMain* fuzzer_view_main_alloc();
|
|
|
|
|
2023-06-02 20:33:28 +03:00
|
|
|
void fuzzer_view_main_free(FuzzerViewMain* view);
|
|
|
|
|
|
|
|
View* fuzzer_view_main_get_view(FuzzerViewMain* view);
|
2023-06-02 16:42:58 +03:00
|
|
|
|
2023-06-02 20:33:28 +03:00
|
|
|
void fuzzer_view_main_update_data(FuzzerViewMain* view, FuzzerState state);
|
|
|
|
void fuzzer_view_main_get_state(FuzzerViewMain* view, FuzzerState* state);
|