foobar2000 SDK  2015-01-14
app_close_blocker.cpp
Go to the documentation of this file.
1 #include "foobar2000.h"
2 
4 {
7  while(e.next(ptr))
8  {
9  if (!ptr->query()) return false;
10  }
11  return true;
12 }
static bool g_query()
Static helper function, checks whether any of registered app_close_blocker services is currently prev...
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
Definition: service.h:55
bool next(service_ptr_t< t_query > &p_out)
Definition: service.h:587