Definition at line 237 of file AudioComDialogBase.cpp.
◆ Idler()
audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::Idler::Idler |
( |
| ) |
|
|
inline |
Definition at line 245 of file AudioComDialogBase.cpp.
247 {
248 }
Observer::Subscription OnAppIdle(std::function< void()> callback)
Observer::Subscription Subsctiption
◆ OnIdle()
void audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::Idler::OnIdle |
( |
| ) |
|
|
inline |
Definition at line 250 of file AudioComDialogBase.cpp.
251 {
253 return;
254
255 for (
auto it =
Items.begin(); it !=
Items.end();)
256 {
257 if (it->Condition())
258 {
260
261 auto swapFlag =
finally([
this] {
IdlerLocked =
false; });
262
263 it->DialogFactory();
264 it =
Items.erase(it);
265 }
266 else
267 ++it;
268 }
269 }
std::list< IdleItem > Items
References MenuRegistry::Items.
◆ IdlerLocked
bool audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::Idler::IdlerLocked {} |
◆ Items
std::list<IdleItem> audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::Idler::Items |
◆ Subsctiption
Observer::Subscription audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::Idler::Subsctiption |
The documentation for this struct was generated from the following file: