config.h.in
author Myhailo Danylenko <isbear@ukrpost.net>
Wed, 20 Jan 2010 19:39:43 +0200
changeset 14 9a4d0f04c7d3
child 20 df9cedcdb3b2
permissions -rw-r--r--
Check online status * Delay publication until connected * Not send requests if not online * Unregister reply handlers


#ifndef LOCAL_CONFIG_H
#define LOCAL_CONFIG_H

#cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER

#cmakedefine HAVE_XMPP_IS_ONLINE

#ifndef HAVE_XMPP_IS_ONLINE
inline gboolean xmpp_is_online (void)
{
	if (lconnection && lm_connection_is_authenticated (lconnection))
		return TRUE;
	else
		return FALSE;
}
#endif

#endif