meetingrequest/mrutilscalplugin/inc/cesmrutilsimpl.h
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
child 12 4ce476e64c59
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Implementation of CMRUtils ECom API.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CESMRUTILSIMPL_H
       
    20 #define CESMRUTILSIMPL_H
       
    21 
       
    22 //  INCLUDE FILES
       
    23 #include <CMRUtils.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CESMRUtils;
       
    27 
       
    28 /**
       
    29  * ECom implementation for es meeting request utilities.
       
    30  */
       
    31 NONSHARABLE_CLASS(CESMRUtilsImpl) : 
       
    32         public CMRUtils,
       
    33         public MMRUtilsObserver
       
    34     {
       
    35 public: // Constructors and destructors
       
    36 
       
    37     /**
       
    38      * ECom plug-in instantiation method.
       
    39      * @return instantiated ECom plug-in
       
    40      */
       
    41     static CESMRUtilsImpl* NewL();
       
    42 
       
    43     /**
       
    44      * Destructor.
       
    45      */
       
    46       ~CESMRUtilsImpl();
       
    47 
       
    48 public: // From CMRUtils    	
       
    49     TInt DeleteWithUiL(
       
    50             const CCalEntry& aEntry,
       
    51             TMsvId aMailbox );
       
    52     TInt DeleteWithUiL( 
       
    53             CCalInstance* aInstance,
       
    54             TMsvId aMailbox );                            
       
    55     void SendWithUiL( 
       
    56             const CCalEntry& aEntry,
       
    57             TMsvId aMailbox );                            
       
    58     TAny* ExtensionL( 
       
    59             TUid aExtensionUid );        
       
    60     void SessionSetupL( 
       
    61             CCalSession& aCalSession,
       
    62             CMsvSession* aMsvSession );
       
    63     
       
    64 public: // From MMRUtilsObserver
       
    65 
       
    66 	void HandleCalEngStatus( 
       
    67 	        TMRUtilsCalEngStatus aStatus );    	
       
    68 	void HandleOperation( 
       
    69 	        TInt aType,
       
    70             TInt aPercentageCompleted, 
       
    71             TInt aStatus );
       
    72     
       
    73 private: // Implementation
       
    74     CESMRUtilsImpl();
       
    75     void ConstructL();            
       
    76     
       
    77 private: // data            
       
    78     /// Own: ESMRUtils object
       
    79 	CESMRUtils* iEsmrUtils;
       
    80     };
       
    81 
       
    82 #endif // CESMRUTILSIMPL_H
       
    83 
       
    84 // End of File