config.h.in
changeset 22 6d0d6bbf98d0
child 26 91987ea19f24
equal deleted inserted replaced
21:299300f1dd31 22:6d0d6bbf98d0
       
     1 
       
     2 #ifndef LOCAL_CONFIG_H
       
     3 #define LOCAL_CONFIG_H
       
     4 
       
     5 #cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER
       
     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
       
    18 
       
    19 #endif
       
    20