Audacity 3.2.0
|
Public Member Functions | |
void | UpdateTempPath (const FilePath &path) |
Public Member Functions inherited from Observer::Publisher< FilePath > | |
Publisher (ExceptionPolicy *pPolicy=nullptr, Alloc a={}) | |
Constructor supporting type-erased custom allocation/deletion. More... | |
Publisher (Publisher &&)=default | |
Publisher & | operator= (Publisher &&)=default |
Subscription | Subscribe (Callback callback) |
Connect a callback to the Publisher; later-connected are called earlier. More... | |
Subscription | Subscribe (Object &obj, Return(Object::*callback)(Args...)) |
Overload of Subscribe takes an object and pointer-to-member-function. More... | |
Public Attributes | |
FilePath | prevPath |
Additional Inherited Members | |
Public Types inherited from Observer::Publisher< FilePath > | |
using | message_type = FilePath |
using | CallbackReturn = std::conditional_t< true, void, bool > |
using | Callback = std::function< CallbackReturn(const FilePath &) > |
Type of functions that can be connected to the Publisher. More... | |
Static Public Attributes inherited from Observer::Publisher< FilePath > | |
static constexpr bool | notifies_all |
Protected Member Functions inherited from Observer::Publisher< FilePath > | |
CallbackReturn | Publish (const FilePath &message) |
Send a message to connected callbacks. More... | |
Definition at line 19 of file TempDirectory.cpp.
|
inline |
Definition at line 21 of file TempDirectory.cpp.
Referenced by TempDirectory::SetDefaultTempDir().
FilePath anonymous_namespace{TempDirectory.cpp}::TempDirChangedPublisher::prevPath |
Definition at line 30 of file TempDirectory.cpp.