added option to view json

This commit is contained in:
Santiago Lema 2025-05-10 01:47:05 -03:00
parent 2df9419ce2
commit 67997aa2b1
4 changed files with 38 additions and 4 deletions

View file

@ -22,6 +22,9 @@ static const uint32 kMsgNewFile = 'fnew';
static const uint32 kMsgOpenFile = 'fopn';
static const uint32 kMsgSaveFile = 'fsav';
static const uint32 kModelSelected = 'msel';
static const uint32 kViewJSON = 'vjso';
static const uint32 kPulse = 'plse';
@ -51,6 +54,9 @@ public:
void updateHistoryInfo();
private:
std::string lastJSON;
void ShowMissingKeyAlertAndQuit();
void SelectModelByName(const char *targetLabel);