locationsystemui/locationsysui/locnotprefplugin/inc/locnotprefplugincmdhdlr.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2006 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:  Interface class that provides the command handling functionality.
       
    15 *                The class implementing it should be prepared to handle all commands
       
    16 *                except those internal to the calling UI
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef M_LOCNOTPREFPLUGINCMDHDLR_H_
       
    22 #define M_LOCNOTPREFPLUGINCMDHDLR_H_
       
    23 
       
    24 // System Include 
       
    25 #include <e32base.h>
       
    26 
       
    27 // Class Definition
       
    28 
       
    29 /**
       
    30  *  Interface class that provides the command handling functionality.
       
    31  */
       
    32 class MLocNotPrefPluginCmdHdlr
       
    33     {
       
    34     public:
       
    35         /**
       
    36          * Enumeration for Command Handler commands
       
    37          */
       
    38          enum TLocNotPrefPluginCmd
       
    39             {
       
    40             /**
       
    41              * List box item selection
       
    42              */
       
    43             EListBoxItemSelected,
       
    44             
       
    45             /**
       
    46              * Screen size changed
       
    47              */
       
    48             EScreenSizeChanged
       
    49             };
       
    50     public:
       
    51         /**
       
    52          * Command handling function
       
    53          *
       
    54          * @param aCommand Command that needs to be handled
       
    55          */
       
    56          virtual void HandleCmdL( TLocNotPrefPluginCmd aCommand )   = 0;
       
    57          
       
    58     };
       
    59 
       
    60 #endif // M_LOCNOTPREFPLUGINCMDHDLR_H_
       
    61