2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Sync session progress notification.
18 #ifndef __SYNCMLCONTACTSUITEPROGRESSCLIENT_H__
19 #define __SYNCMLCONTACTSUITEPROGRESSCLIENT_H__
23 #include <SyncMLDef.h>
24 #include <SyncMLHistory.h>
25 #include <SyncMLClient.h>
27 class MSyncMLProgressObserver;
28 class CSmlContactSuiteActiveCallback;
31 ///////////////////////////////////////////////////////////////////////////////
32 // RContactSuiteSyncMLSession
33 ///////////////////////////////////////////////////////////////////////////////
35 A client handle to a SyncML Sync Agent session and to listen the sync
36 progress notifications.
38 An instance of this class must be created in order to instantiate any of
39 the other client-side classes.
41 Accessor methods are provided to enable clients to retrieve identifiers
42 of current and queued jobs, and of available profiles, transports, and
43 data providers. These IDs can be used to open handles on these objects
44 in order to manipulate them.
46 Clients can request notifications of events related to jobs, profiles, transports,
47 and the SyncML Agent, and can request progress for the currently running job.
51 class RContactSuiteSyncMLSession:public RSyncMLSession
54 IMPORT_C void CloseContactSuiteSession();
55 IMPORT_C void RequestContactSuiteProgressL( TInt aProfileId, MSyncMLProgressObserver& aProgressObserver );
58 CSmlContactSuiteActiveCallback *iContactSuiteCallBack;
61 ///////////////////////////////////////////////////////////////////////////////
62 ///////////////////////////////////////////////////////////////////////////////
63 ///////////////////////////////////////////////////////////////////////////////