mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-08 02:50:00 +08:00
28 lines
642 B
C
28 lines
642 B
C
//
|
|
// Created by Lea Anthony on 7/1/21.
|
|
//
|
|
|
|
#ifndef TRAYMENUSTORE_DARWIN_H
|
|
#define TRAYMENUSTORE_DARWIN_H
|
|
|
|
typedef struct {
|
|
|
|
int dummy;
|
|
|
|
// This is our tray menu map
|
|
// It maps tray IDs to TrayMenu*
|
|
struct hashmap_s trayMenuMap;
|
|
|
|
} TrayMenuStore;
|
|
|
|
TrayMenuStore* NewTrayMenuStore();
|
|
|
|
void AddTrayMenuToStore(TrayMenuStore* store, const char* menuJSON);
|
|
void UpdateTrayMenuInStore(TrayMenuStore* store, const char* menuJSON);
|
|
void ShowTrayMenusInStore(TrayMenuStore* store);
|
|
void DeleteTrayMenuStore(TrayMenuStore* store);
|
|
|
|
void UpdateTrayMenuLabelInStore(TrayMenuStore* store, const char* JSON);
|
|
|
|
#endif //TRAYMENUSTORE_DARWIN_H
|