diff -r b183ec05bd8c -r 19bba8228ff0 remotemgmt_plat/syncml_ds_error_reporting_api/tsrc/SyncStatusSpy/inc/SyncInitiationNotifier.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remotemgmt_plat/syncml_ds_error_reporting_api/tsrc/SyncStatusSpy/inc/SyncInitiationNotifier.h Wed Sep 01 12:27:42 2010 +0100 @@ -0,0 +1,68 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "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: +* SyncInitiationNotifier.h +*/ + + +#ifndef SYNCINITIATIONNOTIFIER_H_ +#define SYNCINITIATIONNOTIFIER_H_ + + +// FORWARD DECLARATIONS +class CRepository; +// CLASS DECLARATION + +/** +* CSyncInitiationNotifier Central repository notifier. +*/ +class CSyncInitiationNotifier : public CActive + { + public: //Constructors and destructors + + static CSyncInitiationNotifier* NewL(); + + static CSyncInitiationNotifier* NewLC(); + + ~CSyncInitiationNotifier(); + + protected: //Constructors and destructors + + /** + * C++ constructor. + */ + CSyncInitiationNotifier(); + + /** + * 2nd phase constructor. + */ + void ConstructL(); + + + public: + + + private: + void ListenForKeyNotifications(); + + void DoCancel(); + + void RunL(); + + private: + RFs iFs; + CRepository* iRep; + }; + +#endif /* SYNCINITIATIONNOTIFIER_H_ */