equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 // Name : SigCompCompressionContext.cpp |
|
15 // Part of : SigComp |
|
16 // SigComp compressor ontext |
|
17 // Version : 1.0 |
|
18 // |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include "SigCompCompressionContext.h" |
|
24 |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS ============================== |
|
27 EXPORT_C void CSigCompCompressionContext::SetContext(CBufBase* aContext) |
|
28 { |
|
29 delete iContext; |
|
30 iContext = aContext; |
|
31 } |
|
32 |
|
33 EXPORT_C const CBufBase* CSigCompCompressionContext::Context() const |
|
34 { |
|
35 return iContext; |
|
36 } |
|
37 |
|
38 EXPORT_C CSigCompCompressionContext::~CSigCompCompressionContext() |
|
39 { |
|
40 delete iContext; |
|
41 } |
|
42 |
|
43 EXPORT_C CSigCompCompressionContext::CSigCompCompressionContext() |
|
44 { |
|
45 iContext = NULL; |
|
46 } |