wvuing/wvuiave/AppSrc/mcamsgaddedtorichtxtctrlobserver.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2006-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 to observe events in text control
       
    15 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MCAMSGADDEDTORICHTXTCTRLOBSERVER
       
    23 
       
    24 #define MCAMSGADDEDTORICHTXTCTRLOBSERVER
       
    25 
       
    26 
       
    27 
       
    28 #include <e32def.h>
       
    29 
       
    30 
       
    31 
       
    32 /**
       
    33 
       
    34  *  Interface to observe events from text controls
       
    35 
       
    36  *  @lib chatng.exe
       
    37 
       
    38  *  @since S60 v3.2
       
    39 
       
    40  */
       
    41 
       
    42 class MCAMsgAddedToRichTxtCtrlObserver
       
    43 
       
    44     {
       
    45 
       
    46     public:
       
    47 
       
    48 
       
    49         /**
       
    50 
       
    51          * This method is called when new message is inserted to rich text container
       
    52 
       
    53          * @since S60 v3.2
       
    54 
       
    55          * @return none
       
    56 
       
    57          */
       
    58 
       
    59         virtual void HandleMessageAddedL( const TInt aMessageCount ) = 0;
       
    60 
       
    61 
       
    62 
       
    63     protected:
       
    64 
       
    65 
       
    66 
       
    67         ~MCAMsgAddedToRichTxtCtrlObserver() {}
       
    68 
       
    69     };
       
    70 
       
    71 
       
    72 
       
    73 
       
    74 
       
    75 #endif // MCAMSGADDEDTORICHTXTCTRLOBSERVER
       
    76