Fix parent datamodel issues, update callbacks

This commit is contained in:
Vulpovile
2025-04-08 08:04:32 -07:00
parent d854ddfdd4
commit a064697561
7 changed files with 48 additions and 13 deletions

13
src/include/MenuActions.h Executable file
View File

@@ -0,0 +1,13 @@
#pragma once
#include "DataModelV3/DataModelInstance.h"
//TODO - Temporary location - Should be moved to different header once MFC gets involved
struct ActionParam {
DataModelInstance *dataModel;
Instance *caller;
int actionCode;
};
#define MENUBTN_MENU 1
#define MENUBTN_GO 2
void menuCallback(const ActionParam & actionParam);