remotemgmt_plat/syncml_ds_error_reporting_api/tsrc/SyncStatusSpy/inc/SyncInitiationNotifier.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * SyncInitiationNotifier.h
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SYNCINITIATIONNOTIFIER_H_
       
    20 #define SYNCINITIATIONNOTIFIER_H_
       
    21 
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class CRepository;
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 * CSyncInitiationNotifier Central repository notifier.
       
    29 */
       
    30 class CSyncInitiationNotifier : public CActive
       
    31     {
       
    32 	public: //Constructors and destructors
       
    33 
       
    34 		static CSyncInitiationNotifier* NewL();
       
    35  
       
    36 		static CSyncInitiationNotifier* NewLC();
       
    37 
       
    38 		~CSyncInitiationNotifier();
       
    39 
       
    40 	protected:	//Constructors and destructors
       
    41 
       
    42 		/**
       
    43 		* C++ constructor.
       
    44 		*/
       
    45 		CSyncInitiationNotifier();
       
    46 	
       
    47 		/**
       
    48 		* 2nd phase constructor.
       
    49 		*/
       
    50 		void ConstructL();
       
    51 
       
    52 
       
    53     public:
       
    54 
       
    55 	
       
    56     private:
       
    57     	 void ListenForKeyNotifications();
       
    58     	
       
    59     	 void DoCancel();
       
    60     	        
       
    61     	 void RunL();
       
    62     	 
       
    63     private:
       
    64     	RFs iFs;
       
    65     	CRepository* iRep;
       
    66     };
       
    67 
       
    68 #endif /* SYNCINITIATIONNOTIFIER_H_ */