emailuis/emailui/inc/ncsfieldsizeobserver.h
changeset 0 8466d47a6819
child 4 e7aa27f58ae1
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     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:  Address factory class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MNCSFIELDSIZEOBSERVER_H
       
    22 #define MNCSFIELDSIZEOBSERVER_H
       
    23 
       
    24 
       
    25 // INCLUDES
       
    26 #include <aknapp.h>
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * MNcsFieldSizeObserver
       
    33 */
       
    34 class MNcsFieldSizeObserver
       
    35     {
       
    36 public:  // new functions
       
    37 
       
    38     /**
       
    39     * Informs the observer that the field is updated.
       
    40     *
       
    41     * @since S60 v3.0
       
    42     * @return Return ETrue if you wish to redraw the edwin. EFalse otherwise.
       
    43     */
       
    44     virtual TBool UpdateFieldSizeL() = 0;
       
    45     
       
    46     /**
       
    47     * Informs the observer that the given control position has changed.
       
    48     *
       
    49     * @param aAnchor Control which position has changed.
       
    50     */
       
    51     virtual void UpdateFieldPosition( CCoeControl* aAnchor ) = 0;
       
    52     
       
    53     };
       
    54 
       
    55 #endif // MNCSFIELDSIZEOBSERVER_H
       
    56 
       
    57 // End of File