imstutils/imconversationview/imcvuiengine/inc/mimcvenginebuffermemoryhandler.h
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:  For handling memory status.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MIMCVEngineBUFFERMEMORYHANDLER_H__
       
    20 #define __MIMCVEngineBUFFERMEMORYHANDLER_H__
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 //	FORWARD CLASS DECLERATIONS
       
    25 class MIMCVEngineChatInterface;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  *  For handling memory status.
       
    31  *
       
    32  *  @lib imcvuiengine.dll
       
    33  *  @since 5.0
       
    34  */
       
    35 class MIMCVEngineBufferMemoryHandler
       
    36 	{
       
    37 	public:
       
    38 		/**
       
    39 		 * Free memory if needed.
       
    40 		 * @param aSize Size needed.
       
    41 		 * @return ETrue, if successfull, EFalse if not.
       
    42 		 */
       
    43 		virtual TBool FreeMemoryIfNeededL( TInt aSize ) = 0;
       
    44 		
       
    45 		
       
    46 	};
       
    47 #endif      // __MIMCVEngineBUFFERMEMORYHANDLER_H__
       
    48 
       
    49 // End of File
       
    50 
       
    51