pep_activity.h.in
changeset 31 e404cd1c7077
parent 29 23fa36d480fb
equal deleted inserted replaced
30:a66ed0454ca8 31:e404cd1c7077
       
     1 
       
     2 #ifndef MCABBER_ACTIVITY_H
       
     3 #define MCABBER_ACTIVITY_H
       
     4 
       
     5 /*
       
     6  * activity.h           -- Pep activity events
       
     7  *
       
     8  * Copyright (C) 2012      Myhailo Danylenko <isbear@ukrpost.net>
       
     9  *
       
    10  * This program is free software; you can redistribute it and/or modify
       
    11  * it under the terms of the GNU General Public License as published by
       
    12  * the Free Software Foundation; either version 2 of the License, or (at
       
    13  * your option) any later version.
       
    14  *
       
    15  * This program is distributed in the hope that it will be useful, but
       
    16  * WITHOUT ANY WARRANTY; without even the implied warranty of
       
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    18  * General Public License for more details.
       
    19  *
       
    20  * You should have received a copy of the GNU General Public License
       
    21  * along with this program; if not, write to the Free Software
       
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
       
    23  * USA
       
    24  */
       
    25 
       
    26 #include <glib.h>
       
    27 
       
    28 #define NS_ACTIVITY        ( "http:/" "/jabber.org/protocol/activity"        )
       
    29 #define NS_ACTIVITY_NOTIFY ( "http:/" "/jabber.org/protocol/activity+notify" )
       
    30 
       
    31 #define HOOK_ACTIVITY_IN  ( "${HOOK_ACTIVITY_IN}"  )
       
    32 #define HOOK_ACTIVITY_OUT ( "${HOOK_ACTIVITY_OUT}" )
       
    33 
       
    34 #define ACTIVITY_ERROR_NOTCONNECTED ( 0x01 )
       
    35 
       
    36 gboolean pep_activity_request ( const gchar *to, GError **error );
       
    37 
       
    38 #endif
       
    39