1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/SyncMLContactSuiteProgressClient.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,64 @@
1.4 +/*
1.5 +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* 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
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: Sync session progress notification.
1.18 +*
1.19 +*/
1.20 +
1.21 +#ifndef __SYNCMLCONTACTSUITEPROGRESSCLIENT_H__
1.22 +#define __SYNCMLCONTACTSUITEPROGRESSCLIENT_H__
1.23 +//
1.24 +#include <e32std.h>
1.25 +#include <badesca.h>
1.26 +#include <SyncMLDef.h>
1.27 +#include <SyncMLHistory.h>
1.28 +#include <SyncMLClient.h>
1.29 +//
1.30 +class MSyncMLProgressObserver;
1.31 +class CSmlContactSuiteActiveCallback;
1.32 +//
1.33 +
1.34 +///////////////////////////////////////////////////////////////////////////////
1.35 +// RContactSuiteSyncMLSession
1.36 +///////////////////////////////////////////////////////////////////////////////
1.37 +/**
1.38 + A client handle to a SyncML Sync Agent session and to listen the sync
1.39 + progress notifications.
1.40 +
1.41 + An instance of this class must be created in order to instantiate any of
1.42 + the other client-side classes.
1.43 +
1.44 + Accessor methods are provided to enable clients to retrieve identifiers
1.45 + of current and queued jobs, and of available profiles, transports, and
1.46 + data providers. These IDs can be used to open handles on these objects
1.47 + in order to manipulate them.
1.48 +
1.49 + Clients can request notifications of events related to jobs, profiles, transports,
1.50 + and the SyncML Agent, and can request progress for the currently running job.
1.51 + @publishedAll
1.52 + @released
1.53 +*/
1.54 +class RContactSuiteSyncMLSession:public RSyncMLSession
1.55 + {
1.56 +public:
1.57 + IMPORT_C void CloseContactSuiteSession();
1.58 + IMPORT_C void RequestContactSuiteProgressL( TInt aProfileId, MSyncMLProgressObserver& aProgressObserver );
1.59 +
1.60 +private:
1.61 + CSmlContactSuiteActiveCallback *iContactSuiteCallBack;
1.62 + };
1.63 +
1.64 +///////////////////////////////////////////////////////////////////////////////
1.65 +///////////////////////////////////////////////////////////////////////////////
1.66 +///////////////////////////////////////////////////////////////////////////////
1.67 +#endif