|
1 /* |
|
2 * Copyright (c) 2007-2008 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 the License "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: Defines CTrustInfo class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #include <rtsecmgrtrustinfo.h> |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // Defintiion of default private constructor |
|
27 // --------------------------------------------------------------------------- |
|
28 // |
|
29 CTrustInfo::CTrustInfo() |
|
30 { |
|
31 } |
|
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // Definition of second phase constructor |
|
35 // |
|
36 // Constructs a CTrustInfo instance |
|
37 // --------------------------------------------------------------------------- |
|
38 // |
|
39 EXPORT_C CTrustInfo* CTrustInfo::NewL() |
|
40 { |
|
41 CTrustInfo* self = CTrustInfo::NewLC(); |
|
42 CleanupStack::Pop(self); |
|
43 return self; |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // Definition of second phase constructor |
|
48 // |
|
49 // Constructs a CTrustInfo instance and leaves the created instance |
|
50 // on the cleanupstack |
|
51 // --------------------------------------------------------------------------- |
|
52 // |
|
53 EXPORT_C CTrustInfo* CTrustInfo::NewLC() |
|
54 { |
|
55 CTrustInfo* self = new (ELeave) CTrustInfo(); |
|
56 CleanupStack::PushL(self); |
|
57 return self; |
|
58 } |
|
59 |
|
60 // --------------------------------------------------------------------------- |
|
61 // Destructor |
|
62 // |
|
63 // --------------------------------------------------------------------------- |
|
64 // |
|
65 EXPORT_C CTrustInfo::~CTrustInfo() |
|
66 { |
|
67 } |
|
68 |