equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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 __MCABUFFERMEMORYHANDLER_H__ |
|
20 #define __MCABUFFERMEMORYHANDLER_H__ |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 // FORWARD CLASS DECLERATIONS |
|
25 class MCAChatInterface; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * For handling memory status. |
|
31 * |
|
32 * @lib CAEngine.dll |
|
33 * @since 3.0 |
|
34 */ |
|
35 class MCABufferMemoryHandler |
|
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 * Set access interface to get access to messages. |
|
47 * @param aAccess Contains access to message containers. |
|
48 */ |
|
49 virtual void SetAccessInterface( MCAChatInterface* aAccess ) = 0; |
|
50 }; |
|
51 #endif // __MCABUFFERMEMORYHANDLER_H__ |
|
52 |
|
53 // End of File |
|
54 |
|
55 |