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 #include <hbapplication.h> |
|
18 #include <hbmainwindow.h> |
|
19 #include "lunchwidget.h" |
|
20 |
|
21 #include <EIKENV.H> |
|
22 #include <APGWGNAM.H> |
|
23 |
|
24 |
|
25 int main(int argc, char **argv) |
|
26 { |
|
27 HbApplication app(argc, argv); |
|
28 lunchwidget* lw = new lunchwidget; |
|
29 HbMainWindow mainWindow; |
|
30 mainWindow.addView( lw ); |
|
31 mainWindow.show(); |
|
32 |
|
33 CEikonEnv * env = CEikonEnv::Static(); |
|
34 CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(env->WsSession()); |
|
35 env->SetSystem(true); |
|
36 //wgName->SetCaptionL(_L("trompka")); |
|
37 wgName->SetAppUid(TUid::Uid(0xE9340220)); |
|
38 wgName->SetSystem(true); |
|
39 wgName->SetWindowGroupName(env->RootWin()); |
|
40 |
|
41 CleanupStack::PopAndDestroy(wgName); |
|
42 |
|
43 return app.exec(); |
|
44 } |