|
1 /* |
|
2 * Copyright (c) 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: Auth Response |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <e32base.h> |
|
19 #include <e32def.h> |
|
20 #include <e32cmn.h> |
|
21 #include "epos_comasuplasnbase.h" |
|
22 #include "epos_comasuplasnmessagebase.h" |
|
23 #include "epos_comasuplauthresponse.h" |
|
24 #include "cstubsuplauthresponse.h" |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // CStubSuplAuthResponse::NewL |
|
28 // Other Items were commented in a header |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 EXPORT_C CStubSuplAuthResponse* CStubSuplAuthResponse::NewL() |
|
32 { |
|
33 CStubSuplAuthResponse* self = new (ELeave) CStubSuplAuthResponse; |
|
34 CleanupStack::PushL(self); |
|
35 self->ConstructL(); |
|
36 CleanupStack::Pop(); |
|
37 return self; |
|
38 } |
|
39 // ----------------------------------------------------------------------------- |
|
40 // CStubSuplAuthResponse::~CStubSuplAuthResponse |
|
41 // Other Items were commented in a header |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 EXPORT_C CStubSuplAuthResponse::~CStubSuplAuthResponse() |
|
45 { |
|
46 |
|
47 } |
|
48 // ----------------------------------------------------------------------------- |
|
49 // CStubSuplAuthResponse::ConstructL |
|
50 // Other Items were commented in a header |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 void CStubSuplAuthResponse::ConstructL() |
|
54 { |
|
55 COMASuplAuthResponse::ConstructL(); |
|
56 //Allocate memory for internal usage.... |
|
57 } |
|
58 // ----------------------------------------------------------------------------- |
|
59 // CStubSuplAuthResponse::EncodeL |
|
60 // Other Items were commented in a header |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 HBufC8* CStubSuplAuthResponse::EncodeL(TInt& aErrorCode) |
|
64 { |
|
65 aErrorCode = 0; |
|
66 HBufC8* encodedBuffer = NULL; |
|
67 // Do actual encoding here and return encoded buffer and put appropriate error code in aErrorCode |
|
68 return encodedBuffer; |
|
69 } |
|
70 // ----------------------------------------------------------------------------- |
|
71 // CStubSuplAuthResponse::CStubSuplAuthResponse |
|
72 // Other Items were commented in a header |
|
73 // ----------------------------------------------------------------------------- |
|
74 // |
|
75 CStubSuplAuthResponse::CStubSuplAuthResponse() |
|
76 { |
|
77 } |