diff -r d0f3a028347a -r 59927b2d3b75 libtelepathy/tsrc/inc/telepathygabblefetchcontacts.h --- a/libtelepathy/tsrc/inc/telepathygabblefetchcontacts.h Tue Feb 02 01:10:06 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,111 +0,0 @@ -/* -* Copyright (c) 2008 - 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Class declaration for Fetch Test Cases. -* -*/ - - - - -//Include files -#include -#include -#include - -#include - -#ifndef DBUS_API_SUBJECT_TO_CHANGE -#define DBUS_API_SUBJECT_TO_CHANGE -#endif - - -//Include files -#include -#include -#include - -#include -#include -#include -#include - -#include - -#include - -#include - -#include "tp-conn.h" -#include "tp-connmgr.h" -#include "tp-chan.h" -#include "tp-chan-gen.h" -#include "tp-ch-gen.h" -#include "tp-chan-iface-group-gen.h" -#include "tp-chan-type-text-gen.h" -#include "tp-chan-type-streamed-media-gen.h" -#include "tp-props-iface.h" -#include "tp-constants.h" -#include "tp-interfaces.h" - -#include -//for the global data -#include "telepathygabbletestdata.h" - - -const guint KMaxContactFetchCount = 500; - - -// FORWARD DECLARATION -class CTelepathyGabbleLoginTest; - - -// CLASS DECLARATION -NONSHARABLE_CLASS(CTelepathyGabbleFetchContacts) : public CBase - { - - private: - /** - * C++ default constructor. - */ - - CTelepathyGabbleFetchContacts(); - - /** - * By default Symbian 2nd phase constructor is private. - */ - void ConstructL(); - - public: // Constructors and destructor - /** - * Two-phased constructor. - */ - static CTelepathyGabbleFetchContacts* NewL(); - - /** - * Destructor. - */ - ~CTelepathyGabbleFetchContacts(); - - public: // Member functions - TInt test_request_roster ( CTestData* aTestData ); - - public : //Callback functions - - static void get_roster_member_cb( DBusGProxy *proxy,GArray* current_members, GArray* local_pending_members, GArray* remote_pending_members, GError *error, gpointer userdata ); - static void inspect_handles_cb( DBusGProxy *proxy,char **handles_names, GError *error, gpointer userdata ) ; - - - - - };