wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
FileDialogs Namespace Reference

Global accessor for the current FileDialogProvider. More...

Functions

FileDialogProviderprovider ()
 Returns the active provider. Never null.
FileDialogProvidersetProvider (FileDialogProvider *newProvider)

Detailed Description

Global accessor for the current FileDialogProvider.

Function Documentation

◆ provider()

◆ setProvider()

FileDialogProvider * FileDialogs::setProvider ( FileDialogProvider * newProvider)

Replaces the active provider. Pass nullptr to restore the default. Returns the previous provider (for RAII restoration in tests).

Definition at line 20 of file FileDialogProvider.cpp.

References s_provider, and s_realProvider.