meetingrequest/mrbcplugin/bcmrevent/inc/cmrbcmeetingrequestplugin.h
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2008 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: MBUtils ECOM definition
       
    15 *
       
    16 */
       
    17 #ifndef C_MRBCMEETINGREQUESTPLUGIN_H
       
    18 #define C_MRBCMEETINGREQUESTPLUGIN_H
       
    19 
       
    20 #include "cmrbceventplugin.h"
       
    21 #include <e32base.h>
       
    22 #include <calenservices.h>
       
    23 
       
    24 class CMRBCPluginCmdHandler;
       
    25 
       
    26 /**
       
    27  * CMRBCMeetingRequestPlugin implements CMRBCEventPlugin interface
       
    28  * for meeting requests
       
    29  */
       
    30 NONSHARABLE_CLASS( CMRBCMeetingRequestPlugin ) :
       
    31     public CMRBCEventPlugin
       
    32     {
       
    33 public:
       
    34     /**
       
    35      * Creates new CMRBCMeetingRequestPlugin object.
       
    36      * @param aCalenServices Reference to calendar services
       
    37      * @return New CMRBCMeetingRequestPlugin object
       
    38      */
       
    39     static CMRBCMeetingRequestPlugin* NewL(
       
    40             TAny* aCalenServices );
       
    41     
       
    42     /**
       
    43      * C++ destructor
       
    44      */
       
    45     ~CMRBCMeetingRequestPlugin();
       
    46     
       
    47 public: // From base class MMRBCEventPlugin
       
    48     MCalenCommandHandler* CommandHandler();
       
    49 
       
    50 private:
       
    51     CMRBCMeetingRequestPlugin(
       
    52             MCalenServices& aCalenServices );
       
    53     void ConstructL();
       
    54     
       
    55 private:
       
    56     /// Ref: Reference to calendar services 
       
    57     MCalenServices& iCalenServices;
       
    58     /// Own: MR Command handler
       
    59     CMRBCPluginCmdHandler* iCommandHandler;
       
    60     };
       
    61 
       
    62 #endif // C_MRBCMEETINGREQUESTPLUGIN_H
       
    63 
       
    64 // EOF