idlefw/plugins/shortcutplugin/inc/maiscutextmessagehandler.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Shortcut plug-in xSP extension server message handler.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MAISCUTEXTMESSAGEHANDLER_H
       
    20 #define MAISCUTEXTMESSAGEHANDLER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CGulIcon;
       
    25 
       
    26 /**
       
    27  *
       
    28  *  Shortcut plug-in xSP extension server message handler.
       
    29  *
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 class MAiScutExtMessageHandler
       
    33     {
       
    34     public:
       
    35         /**
       
    36          * Notifies that the popup text has been changed.
       
    37          * @param aDefinition Target shortcut definition
       
    38          * @param aLineArray Pointer to array of popup line texts. Ownership
       
    39          * is transferred.
       
    40          * @since S60 v3.2
       
    41          */
       
    42         virtual void HandleSetPopupLineArrayL( const TDesC& aDefinition,
       
    43             CDesCArray* aLineArray ) = 0;
       
    44         /**
       
    45          * Notifies that the popup text has been reseted.
       
    46          * @param aDefinition Target shortcut definition
       
    47          * @since S60 v3.2
       
    48          */
       
    49         virtual void HandleResetPopupLineArrayL( const TDesC& aDefinition ) = 0;
       
    50 
       
    51         /**
       
    52          * Notifies that the ion has been changed.
       
    53          * @param aDefinition Target shortcut definition
       
    54          * @param aIcon Pointer to new icon. Ownership
       
    55          * is transferred.
       
    56          * @since S60 v3.2
       
    57          */
       
    58         virtual void HandleSetIconL( const TDesC& aDefinition,
       
    59             CGulIcon* aIcon ) = 0;
       
    60 
       
    61         /**
       
    62          * Notifies that the icon has been reseted.
       
    63          * @param aDefinition Target shortcut definition
       
    64          * @since S60 v3.2
       
    65          */
       
    66         virtual void HandleResetIconL( const TDesC& aDefinition ) = 0;
       
    67         
       
    68         /**
       
    69          * Checks whether the target is in shortcuts
       
    70          * @param aDefinition Target shortcut definition
       
    71          * @return ETrue if the target is in shortcuts
       
    72          * @since S60 v3.2
       
    73          */
       
    74         virtual TBool HandleIsInShortcutsL( const TDesC& aDefinition ) const = 0;
       
    75         
       
    76         /**
       
    77          * Launches General Settings so that the target definition is passed in.
       
    78          * @param aDefinition Target shortcut definition
       
    79          * @since S60 v3.2
       
    80          */
       
    81         virtual void HandleIssuePutInShortcutsL( const TDesC& aDefinition ) = 0;
       
    82     };
       
    83 
       
    84 #endif // MAISCUTEXTMESSAGEHANDLER_H
       
    85 
       
    86 // End of File.