equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Secure connections test application |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "tlsconnectionapp.h" |
|
19 #include <QDebug> |
|
20 #include <e32base.h> // CTrapCleanup |
|
21 |
|
22 |
|
23 int DoMainL(int argc, char *argv[]) |
|
24 { |
|
25 TlsConnectionApplication app(argc, argv); |
|
26 return app.exec(); |
|
27 } |
|
28 |
|
29 int main(int argc, char *argv[]) |
|
30 { |
|
31 qDebug() << "TLStest main begin"; |
|
32 |
|
33 int err = 0; |
|
34 CTrapCleanup *cleanup = CTrapCleanup::New(); |
|
35 if (cleanup) { |
|
36 TRAP(err, DoMainL(argc, argv)); |
|
37 delete cleanup; |
|
38 } |
|
39 |
|
40 qDebug() << "TLStest main returns" << err; |
|
41 return err; |
|
42 } |
|
43 |