meetingrequest/mrgui/mrfieldbuilderpluginextension/inc/cesmrconflictpopup.h
changeset 0 8466d47a6819
child 16 4ce476e64c59
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c)  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:  ESMR Conflict popup for meeting request field
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CESMRCONFLICTPOPUP_H_
       
    19 #define __CESMRCONFLICTPOPUP_H_
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <e32cmn.h>
       
    23 #include <calentry.h>
       
    24 
       
    25 class CAknInfoPopupNoteController;
       
    26 class MESMRCalEntry;
       
    27 class MESMRMeetingRequestEntry;
       
    28 
       
    29 /**
       
    30  * This class shows the conflict popup note when topic of the
       
    31  * response area is higlighted and there is conflicting meeting 
       
    32  */
       
    33 NONSHARABLE_CLASS(CESMRConflictPopup ) : public CBase
       
    34     {
       
    35     public: // Construction and Destruction
       
    36 	    /**
       
    37 	     * Two-phased constructor. Creates and initializes 
       
    38 	     * CESMRConflictPopup object.
       
    39 	     * @return Pointer to Conflict popup object.
       
    40 	     */
       
    41 	    static CESMRConflictPopup* NewL( MESMRCalEntry& aEntry);
       
    42 	    
       
    43 	    /**
       
    44 	     * Destructor.
       
    45 	     */
       
    46 	    ~CESMRConflictPopup();
       
    47 	    
       
    48 	    /**
       
    49 	     * Shows the popup on the screen.
       
    50 	     */
       
    51 		void ShowPopup();
       
    52 		
       
    53     private: // Implementation
       
    54 		CESMRConflictPopup();
       
    55 		void ConstructL(MESMRCalEntry& aEntry);
       
    56 		void PrepareDisplayStringL();
       
    57 		void InitializeL();
       
    58 
       
    59     private :
       
    60 		CAknInfoPopupNoteController* iNote; // Own
       
    61 		
       
    62 		MESMRMeetingRequestEntry*	iEntry; //ref
       
    63     };
       
    64 
       
    65 #endif /*__CESMRCONFLICTPOPUP_H_*/
       
    66 
       
    67 // EOF