diff -r 000000000000 -r 8466d47a6819 meetingrequest/mrgui/mrfieldbuilderpluginextension/inc/cesmrconflictpopup.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/meetingrequest/mrgui/mrfieldbuilderpluginextension/inc/cesmrconflictpopup.h Thu Dec 17 08:39:21 2009 +0200 @@ -0,0 +1,67 @@ +/* +* Copyright (c) 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: ESMR Conflict popup for meeting request field +* +*/ + +#ifndef __CESMRCONFLICTPOPUP_H_ +#define __CESMRCONFLICTPOPUP_H_ + +#include +#include +#include + +class CAknInfoPopupNoteController; +class MESMRCalEntry; +class MESMRMeetingRequestEntry; + +/** + * This class shows the conflict popup note when topic of the + * response area is higlighted and there is conflicting meeting + */ +NONSHARABLE_CLASS(CESMRConflictPopup ) : public CBase + { + public: // Construction and Destruction + /** + * Two-phased constructor. Creates and initializes + * CESMRConflictPopup object. + * @return Pointer to Conflict popup object. + */ + static CESMRConflictPopup* NewL( MESMRCalEntry& aEntry); + + /** + * Destructor. + */ + ~CESMRConflictPopup(); + + /** + * Shows the popup on the screen. + */ + void ShowPopup(); + + private: // Implementation + CESMRConflictPopup(); + void ConstructL(MESMRCalEntry& aEntry); + void PrepareDisplayStringL(); + void InitializeL(); + + private : + CAknInfoPopupNoteController* iNote; // Own + + MESMRMeetingRequestEntry* iEntry; //ref + }; + +#endif /*__CESMRCONFLICTPOPUP_H_*/ + +// EOF \ No newline at end of file