1 /* |
|
2 * Copyright (c) 2005-2006 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: Declares home network my device name setting item class to |
|
15 * home network setting item list |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #ifndef UPNPAPPSETTINGITEMMYDEVICENAME_H |
|
25 #define UPNPAPPSETTINGITEMMYDEVICENAME_H |
|
26 |
|
27 |
|
28 // INCLUDES |
|
29 #include <aknsettingitemlist.h> |
|
30 |
|
31 |
|
32 // FORWARD DECLARATIONS |
|
33 class CUPnPFileSharingEngine; |
|
34 |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * UPnPAppSettingItemMyDeviceName class. This class is used when |
|
40 * creating home network my device name setting item to setting item list |
|
41 * of home network application settings dialog. |
|
42 */ |
|
43 class UPnPAppSettingItemMyDeviceName: public CAknTextSettingItem |
|
44 { |
|
45 public: // Constructor and destructor |
|
46 |
|
47 /** |
|
48 * Two-phased constructor. |
|
49 */ |
|
50 static UPnPAppSettingItemMyDeviceName* NewL(TInt aIdentifier, |
|
51 TDes& aText, |
|
52 TBool& aSharingState ); |
|
53 |
|
54 /** |
|
55 * Destructor. |
|
56 */ |
|
57 virtual ~UPnPAppSettingItemMyDeviceName(); |
|
58 |
|
59 public: // From CAknTextSettingItem |
|
60 |
|
61 /** |
|
62 * Framework calls this method in order to create |
|
63 * and execute setting page |
|
64 */ |
|
65 void EditItemL(TBool aCalledFromMenu); |
|
66 |
|
67 private: // From CAknTextSettingItem |
|
68 |
|
69 /** |
|
70 * Constructor. |
|
71 */ |
|
72 UPnPAppSettingItemMyDeviceName(TInt aIdentifier, |
|
73 TDes& aText, |
|
74 TBool& aSharingState ); |
|
75 |
|
76 /** |
|
77 * By default Symbian 2nd phase constructor is private. |
|
78 */ |
|
79 void ConstructL(); |
|
80 |
|
81 private: |
|
82 |
|
83 // Sharing state |
|
84 TBool& iSharingState; |
|
85 }; |
|
86 |
|
87 #endif |
|
88 |
|
89 // End of File |
|