A bridge class providing macOS Cocoa specific functionalities.
More...
#include <cocoa_bridge.h>
|
|
static void | cleanOSGeneratedMenuItems () |
| | Cleans up OS-generated menu items in macOS.
|
| |
| static void | showInFinder (char const *file_path) |
| | Reveals the specified file in the macOS Finder.
|
| |
| static void | setCaptureIcon (bool capture_in_progress) |
| | Sets the application dock icon based on capture state.
|
| |
A bridge class providing macOS Cocoa specific functionalities.
◆ setCaptureIcon()
| void CocoaBridge::setCaptureIcon |
( |
bool |
capture_in_progress | ) |
|
|
static |
Sets the application dock icon based on capture state.
- Parameters
-
| capture_in_progress | True if a capture is currently in progress, false otherwise. |
◆ showInFinder()
| void CocoaBridge::showInFinder |
( |
char const * |
file_path | ) |
|
|
static |
Reveals the specified file in the macOS Finder.
- Parameters
-
| file_path | The path to the file to show. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/macosx/cocoa_bridge.h
- /builds/wireshark/wireshark/ui/macosx/cocoa_bridge.mm