wvuing/wvuiprocess/Inc/MCAMessageFlowHandlerPC.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     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:  Flow controller for messages
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MCAMESSAGEFLOWHANDLERPC_H
       
    21 #define MCAMESSAGEFLOWHANDLERPC_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MCAMessageContainer;
       
    29 class MCAConversationManagerPC;
       
    30 class MCARecordedChatsPC;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  Flow controller for messages
       
    36 *
       
    37 *  @lib wvuiprocessng.lib
       
    38 *  @since Series 60 3.2
       
    39 */
       
    40 class MCAMessageFlowHandlerPC
       
    41     {
       
    42 
       
    43     public:
       
    44 
       
    45         /**
       
    46          * Should we fetch new messages or not
       
    47          * @param aFetch ETrue if this chat is in foreground and should
       
    48          *               receive messages, EFalse otherwise.
       
    49          */
       
    50         virtual void FetchMessages( TBool aFetch ) = 0;
       
    51 
       
    52 
       
    53         /**
       
    54          * Destructor.
       
    55          */
       
    56         virtual ~MCAMessageFlowHandlerPC() {};
       
    57 
       
    58     };
       
    59 
       
    60 #endif      // MCAMESSAGEFLOWHANDLERPC_H
       
    61 
       
    62 // End of File