void
preUpdateHandler()
{
    debugOutput( DEBUG_LEVEL_NORMAL, "got pre-update notification...\n" );
    // stop receiving dbus events since the control structure is going to
    // be changed
    dispatcher.leave();
}
Exemple #2
0
void niam(int sig)
{
    dispatcher.leave();
    delete panel;

    // quit panel agent loop
    if (panel_agent)
        panel_agent->stop();
}
Exemple #3
0
void niam(int sig)
{
  DBus::Connection conn = systembus ? DBus::Connection::SystemBus() : DBus::Connection::SessionBus();

  IntrospectedObject io(conn, path, service);

  std::cout << io.Introspect();

  dispatcher.leave();
}
Exemple #4
0
static void* panel_agent_run(void* data)
{
    panel_agent->run();

    delete panel_agent;
    panel_agent = 0;

    // quit dbus loop
    dispatcher.leave();

    pthread_detach(pthread_self());

    return NULL;
}
static void sighandler (int sig)
{
    run = 0;
    dispatcher.leave();
    sem_post(&run_sem);
}
void niam(int sig)
{
	dispatcher.leave();
}
void AsyncClient::Timed_WaitCallback(const ::DBus::Error& e, void *data)
{
	cout << "reply from Timed_Wait" << endl;
	dispatcher.leave();
}
Exemple #8
0
void niam(int sig)
{
  spin = false;

  dispatcher.leave();
}