Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
CocoaBridge Class Reference

A bridge class providing macOS Cocoa specific functionalities. More...

#include <cocoa_bridge.h>

Static Public Member Functions

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.

Detailed Description

A bridge class providing macOS Cocoa specific functionalities.

Member Function Documentation

◆ setCaptureIcon()

void CocoaBridge::setCaptureIcon ( bool capture_in_progress)
static

Sets the application dock icon based on capture state.

Parameters
capture_in_progressTrue 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_pathThe path to the file to show.

The documentation for this class was generated from the following files: