| 27 | } |
| 28 | |
| 29 | export interface IMenuPlatform { |
| 30 | /** |
| 31 | * Build and set application menu |
| 32 | */ |
| 33 | buildAndSetAppMenu: (options?: MenuOptions) => Menu; |
| 34 | |
| 35 | /** |
| 36 | * Build context menu |
| 37 | */ |
| 38 | buildContextMenu: (type: string, data?: ContextMenuData) => Menu; |
| 39 | |
| 40 | /** |
| 41 | * Build tray menu |
| 42 | */ |
| 43 | buildTrayMenu: () => Menu; |
| 44 | |
| 45 | /** |
| 46 | * Refresh menu |
| 47 | */ |
| 48 | refresh: (options?: MenuOptions) => void; |
| 49 | } |
nothing calls this directly
no outgoing calls
no test coverage detected