foobar2000 SDK
2015-08-03
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
foobar2000
SDK
app_close_blocker.cpp
Go to the documentation of this file.
1
#include "
foobar2000.h
"
2
3
bool
app_close_blocker::g_query
()
4
{
5
service_ptr_t<app_close_blocker>
ptr;
6
service_enum_t<app_close_blocker>
e;
7
while
(e.
next
(ptr))
8
{
9
if
(!ptr->query())
return
false
;
10
}
11
return
true
;
12
}
service_enum_t
Definition:
service.h:573
app_close_blocker::g_query
static bool g_query()
Static helper function, checks whether any of registered app_close_blocker services is currently prev...
Definition:
app_close_blocker.cpp:3
foobar2000.h
service_ptr_t
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
Definition:
service.h:55
service_enum_t::next
bool next(service_ptr_t< t_query > &p_out)
Definition:
service.h:587
Generated by
1.8.11