homescreensrv_plat/action_handler_plugin_api/inc/ahplugin.h
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 94 dbb8300717f7
equal deleted inserted replaced
92:782e3408c2ab 93:82b66994846c
     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:  Plugin Interface
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef C_ACTION_HANDLER_PLUGIN_H
       
    19 #define C_ACTION_HANDLER_PLUGIN_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 class CLiwMap;
       
    24 
       
    25 /**
       
    26  *  Action handler interface for ECOM plugins
       
    27  */
       
    28 class CAHPlugin : public CBase
       
    29     {
       
    30 
       
    31 public:
       
    32     
       
    33     /** 
       
    34      * Method called by Action Handler in order to handle an action.
       
    35      * Must be implemented by plugin provider.
       
    36      * 
       
    37      * @param aMap an action object to be executed
       
    38      * @return Error code
       
    39      */
       
    40     virtual TInt ExecuteActionL( const CLiwMap* aMap ) = 0;
       
    41 
       
    42     };
       
    43 
       
    44 #endif // C_ACTION_HANDLER_PLUGIN_H