config.h.in
changeset 26 91987ea19f24
parent 22 6d0d6bbf98d0
child 28 ff36ae7e2b1e
equal deleted inserted replaced
25:05469ec9c2e0 26:91987ea19f24
     2 #ifndef LOCAL_CONFIG_H
     2 #ifndef LOCAL_CONFIG_H
     3 #define LOCAL_CONFIG_H
     3 #define LOCAL_CONFIG_H
     4 
     4 
     5 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER
     5 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER
     6 
     6 
     7 #cmakedefine HAVE_XMPP_IS_ONLINE
       
     8 
       
     9 #ifndef HAVE_XMPP_IS_ONLINE
       
    10 inline gboolean xmpp_is_online (void)
       
    11 {
       
    12 	if (lconnection && lm_connection_is_authenticated (lconnection))
       
    13 		return TRUE;
       
    14 	else
       
    15 		return FALSE;
       
    16 }
       
    17 #endif
     7 #endif
    18 
     8 
    19 #endif
       
    20