equal
deleted
inserted
replaced
|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: Comms buffer pool |
|
14 // |
|
15 |
|
16 #ifndef __COMMSBUFPOOL_H__ |
|
17 #define __COMMSBUFPOOL_H__ |
|
18 |
|
19 #include <e32base.h> // for std types |
|
20 class MCommsBufPondIntf; |
|
21 class RCommsBuf; |
|
22 /** |
|
23 Base class for the comms buffer pool. |
|
24 |
|
25 @internalTechnology |
|
26 */ |
|
27 class CCommsBufPool : public CBase |
|
28 { |
|
29 public: |
|
30 inline CCommsBufPool(MCommsBufPondIntf& aPondIntf, TInt aSize); |
|
31 inline MCommsBufPondIntf& Pond() const; |
|
32 inline TInt BufSize() const; |
|
33 inline TInt Id() const; |
|
34 protected: |
|
35 TInt iBufSize; |
|
36 MCommsBufPondIntf& iPondIntf; |
|
37 }; |
|
38 |
|
39 #include "commsbufpool.inl" |
|
40 #endif // __COMMSBUFPOOL_H__ |