williamr@2: /* williamr@2: * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * 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 williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: Sync session progress notification. williamr@2: * williamr@2: */ williamr@2: williamr@2: #ifndef __SYNCMLCONTACTSUITEPROGRESSCLIENT_H__ williamr@2: #define __SYNCMLCONTACTSUITEPROGRESSCLIENT_H__ williamr@2: // williamr@2: #include williamr@2: #include williamr@2: #include williamr@2: #include williamr@2: #include williamr@2: // williamr@2: class MSyncMLProgressObserver; williamr@2: class CSmlContactSuiteActiveCallback; williamr@2: // williamr@2: williamr@2: /////////////////////////////////////////////////////////////////////////////// williamr@2: // RContactSuiteSyncMLSession williamr@2: /////////////////////////////////////////////////////////////////////////////// williamr@2: /** williamr@2: A client handle to a SyncML Sync Agent session and to listen the sync williamr@2: progress notifications. williamr@2: williamr@2: An instance of this class must be created in order to instantiate any of williamr@2: the other client-side classes. williamr@2: williamr@2: Accessor methods are provided to enable clients to retrieve identifiers williamr@2: of current and queued jobs, and of available profiles, transports, and williamr@2: data providers. These IDs can be used to open handles on these objects williamr@2: in order to manipulate them. williamr@2: williamr@2: Clients can request notifications of events related to jobs, profiles, transports, williamr@2: and the SyncML Agent, and can request progress for the currently running job. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: class RContactSuiteSyncMLSession:public RSyncMLSession williamr@2: { williamr@2: public: williamr@2: IMPORT_C void CloseContactSuiteSession(); williamr@2: IMPORT_C void RequestContactSuiteProgressL( TInt aProfileId, MSyncMLProgressObserver& aProgressObserver ); williamr@2: williamr@2: private: williamr@2: CSmlContactSuiteActiveCallback *iContactSuiteCallBack; williamr@2: }; williamr@2: williamr@2: /////////////////////////////////////////////////////////////////////////////// williamr@2: /////////////////////////////////////////////////////////////////////////////// williamr@2: /////////////////////////////////////////////////////////////////////////////// williamr@2: #endif