equal
deleted
inserted
replaced
|
1 // Copyright (c) 1998-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: |
|
14 // |
|
15 |
|
16 #include <s32mem.h> |
|
17 #include "U32STD.H" |
|
18 |
|
19 NONSHARABLE_CLASS(HBufBuf) : public TBufBuf |
|
20 { |
|
21 public: |
|
22 static HBufBuf* NewL(CBufBase& aBuf,TInt aPos,TInt aMode=ERead|EWrite); |
|
23 private: |
|
24 void DoRelease(); |
|
25 }; |
|
26 // |
|
27 enum TMemPanic |
|
28 { |
|
29 EMemReadLengthNegative, |
|
30 EMemReadNoTransfer, |
|
31 EMemWriteLengthNegative, |
|
32 EMemWriteNoTransfer, |
|
33 EMemCannotRead, |
|
34 EMemCannotWrite, |
|
35 EMemMarkInvalid, |
|
36 EMemLocationInvalid |
|
37 }; |
|
38 |
|
39 GLREF_C void Panic(TMemPanic aPanic); |
|
40 |
|
41 #include "UM_STD.INL" |
|
42 |