libtelepathy/tsrc/inc/telepathygabbleutils.h
changeset 10 59927b2d3b75
parent 0 d0f3a028347a
equal deleted inserted replaced
0:d0f3a028347a 10:59927b2d3b75
     1 /*
       
     2 * Copyright (c) 2008 - 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Utility class for telepathy Test Cases.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 //Include files
       
    22 #include <e32err.h>
       
    23 #include <e32const.h>
       
    24 #include <e32base.h>
       
    25 
       
    26 #include <glib.h>
       
    27 
       
    28 #ifndef DBUS_API_SUBJECT_TO_CHANGE
       
    29 #define DBUS_API_SUBJECT_TO_CHANGE
       
    30 #endif
       
    31 
       
    32 
       
    33 //Include files
       
    34 #include <e32err.h>
       
    35 #include <e32const.h>
       
    36 #include <e32base.h>
       
    37 
       
    38 #include <stdio.h>
       
    39 #include <stdlib.h>
       
    40 #include <string.h>
       
    41 #include <signal.h>
       
    42 
       
    43 #include <dbus/dbus-glib.h>
       
    44 #include <glib.h>
       
    45 	   
       
    46 #include <unistd.h>
       
    47 
       
    48 #include "tp-conn.h"
       
    49 #include "tp-connmgr.h"
       
    50 #include "tp-chan.h"
       
    51 #include "tp-chan-gen.h"
       
    52 #include "tp-ch-gen.h"
       
    53 #include "tp-chan-iface-group-gen.h"
       
    54 #include "tp-chan-type-text-gen.h"
       
    55 #include "tp-chan-type-streamed-media-gen.h"
       
    56 #include "tp-props-iface.h"
       
    57 #include "tp-constants.h"
       
    58 #include "tp-interfaces.h"
       
    59 
       
    60 #include <pthread.h>
       
    61 
       
    62 // FORWARD DECLARATION
       
    63 class CTestData;
       
    64 
       
    65 
       
    66 // CLASS DECLARATION
       
    67 NONSHARABLE_CLASS(CTelepathyGabbleUtils) 
       
    68     {
       
    69     
       
    70    
       
    71     public: // static Member functions
       
    72  	    static guint get_handle_from_contact ( const gchar  *contact_id,
       
    73  	    										CTestData* aTestData);
       
    74 	
       
    75  };