1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-12 21:46:39 +00:00
nxdumptool/source/menu.h

13 lines
287 B
C
Raw Normal View History

2018-05-15 17:00:19 +01:00
#pragma once
#include <switch.h>
2018-05-16 17:06:57 +01:00
typedef struct _MenuItem {
char* text;
void (*callback)(struct _MenuItem* item);
void* userdata;
2018-05-15 17:00:19 +01:00
} MenuItem;
void menuPrint();
2018-05-16 16:34:05 +01:00
void menuSetCurrent(MenuItem* menuItems, void (*exitCallback)());
2018-05-15 17:00:19 +01:00
void menuUpdate(FsDeviceOperator* fsOperator);