|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Singleton wrapper around SPUStandardUpdaterController for Sparkle 2. More...
Class Methods | |
| (SPUStandardUpdaterController *) | + sharedStandardUpdaterController |
| Returns the shared SPUStandardUpdaterController instance, creating it on first call. | |
Singleton wrapper around SPUStandardUpdaterController for Sparkle 2.
Sparkle 2 no longer provides a built-in shared instance (the Sparkle 1 [SUUpdater sharedUpdater] was deprecated). This class fills that gap by creating exactly one SPUStandardUpdaterController on first access using dispatch_once (equivalent to std::call_once / Q_GLOBAL_STATIC).
The "+" prefix means sharedStandardUpdaterController is a class method (like a C++ static method), so callers write:
rather than creating an instance first.
| + (SPUStandardUpdaterController *) sharedStandardUpdaterController |
Returns the shared SPUStandardUpdaterController instance, creating it on first call.