equal
deleted
inserted
replaced
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: |
|
15 * |
|
16 */ |
|
17 //USER |
|
18 #include "lcapplication.h" |
|
19 |
|
20 //SYSTEM |
|
21 #include <lcviewmanager.h> |
|
22 #include <QObject.h> |
|
23 |
|
24 int main(int argc, char *argv[]) |
|
25 { |
|
26 int err=-1; |
|
27 QString useCase = "0"; // live case |
|
28 QString engineName("MultimediaSharing"); |
|
29 QString applicationName("Video Sharing"); |
|
30 if (argc >= 2) |
|
31 { |
|
32 useCase = QString::fromUtf8( argv[2] ); |
|
33 } |
|
34 LcHbApplication app(argc,argv,useCase); |
|
35 LcViewManager viewManager(engineName,applicationName); |
|
36 QObject::connect( &app, SIGNAL( handleQuit() ), |
|
37 &viewManager, SLOT( terminateSession() ), |
|
38 Qt::QueuedConnection ); |
|
39 |
|
40 err = app.exec(); |
|
41 return err; |
|
42 } |
|