meetingui/agnentryui/inc/CAgnEntryUiImpl.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2005 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 *       Implementation of CAgendaEntryUi ECom API.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __CAGNENTRYUIIMPL_H__
       
    22 #define __CAGNENTRYUIIMPL_H__
       
    23 
       
    24 //  INCLUDES
       
    25 #include <CAgnEntryUi.h>
       
    26 #include <coehelp.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * ECom implementation for executing Agenda Entry UI.
       
    32 */
       
    33 class CAgnEntryUiImpl : public CAgnEntryUi
       
    34     {
       
    35     public: // Constructors and destructors
       
    36 
       
    37         /**
       
    38         * ECom plug-in instantiation method.
       
    39         * HBufC8* descriptor is received as a constructor parameter,
       
    40         * ownership is transferred to ECom plug-in.
       
    41         * @param aMtmUid descriptor used for resolving
       
    42         * @return instantiated ECom plug-in
       
    43         */
       
    44         static CAgnEntryUiImpl* NewL( TAny* aMtmUid );
       
    45 
       
    46         /**
       
    47         * Destructor.
       
    48         */
       
    49         ~CAgnEntryUiImpl();
       
    50 
       
    51     protected: // From MAgnEntryUi
       
    52 
       
    53         TInt ExecuteViewL( RPointerArray<CCalEntry>& aEntries,
       
    54                            const TAgnEntryUiInParams& aInParams,
       
    55                            TAgnEntryUiOutParams& aOutParams,
       
    56                            MAgnEntryUiCallback& aCallback);
       
    57 
       
    58         void SetHelpContext( const TCoeHelpContext& aContext );
       
    59 
       
    60     protected: // Constructors and destructors
       
    61 
       
    62        /**
       
    63         * C++ default constructor.
       
    64         */
       
    65         CAgnEntryUiImpl( TAny* aMtmUid );
       
    66 
       
    67        /**
       
    68         *  Constructor, second phase.
       
    69         */
       
    70         void ConstructL();
       
    71 
       
    72     protected: // data
       
    73 
       
    74         TCoeHelpContext iHelpContext;
       
    75 
       
    76         // own, descriptor used for ECom plug-in resolving
       
    77         HBufC8* iMtmUid;
       
    78         
       
    79         // own, Calendar editor, maintained between ExecuteViewL
       
    80         // calls for faster performance
       
    81         MAgnEntryUi* iCalEditor;
       
    82         
       
    83         // own, MR viewer, maintained between ExecuteViewL
       
    84         // calls for faster performance
       
    85         MAgnEntryUi* iMRViewer;
       
    86     };
       
    87 
       
    88 #endif // __CAGNENTRYUIIMPL_H__
       
    89 
       
    90 // End of File