|
1 /* |
|
2 * Copyright (c) 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 "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: this file is used for wlan ODD appliction |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __LISTBOXSETTINGVIEW_H__ |
|
20 #define __LISTBOXSETTINGVIEW_H__ |
|
21 |
|
22 |
|
23 #include <aknview.h> |
|
24 /* |
|
25 * forward declaration for CWlanSettingList |
|
26 */ |
|
27 class CWlanSettingList; |
|
28 |
|
29 |
|
30 class CWlanOddSettingView : public CAknView |
|
31 { |
|
32 |
|
33 public: |
|
34 /** |
|
35 * creates object for CWlanOddSettingView |
|
36 */ |
|
37 static CWlanOddSettingView* NewL(); |
|
38 |
|
39 /** |
|
40 * on return aIpAdds contains ip address of the device or emulator in IPv4 format |
|
41 */ |
|
42 void IPv4L(TDes& aIpAdds); |
|
43 |
|
44 /** |
|
45 * destructor |
|
46 */ |
|
47 ~CWlanOddSettingView(); |
|
48 |
|
49 public: //New functions |
|
50 void HandleSizeChange( TInt aType ); |
|
51 |
|
52 private: |
|
53 /** |
|
54 * returns view id |
|
55 */ |
|
56 TUid Id() const; |
|
57 |
|
58 /** |
|
59 * handles the command on wlan odd view |
|
60 */ |
|
61 void HandleCommandL( TInt aCommand ); |
|
62 void DoActivateL( const TVwsViewId& aPrevViewId, |
|
63 TUid aCustomMessageId, |
|
64 const TDesC8& aCustomMessage ); |
|
65 void DoDeactivate(); |
|
66 |
|
67 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
68 |
|
69 private: |
|
70 void ConstructL(); |
|
71 |
|
72 CWlanOddSettingView(); |
|
73 |
|
74 void DelteJavaDirL(); |
|
75 |
|
76 |
|
77 |
|
78 private: //Data |
|
79 /** |
|
80 * to create CWlanSettingList object |
|
81 */ |
|
82 CWlanSettingList* iContainer; |
|
83 |
|
84 }; |
|
85 |
|
86 #endif // __LISTBOXSETTINGVIEW_H__ |