|
1 /* |
|
2 * Copyright (c) 2005-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: Declaration of CGSAccHeadsetView class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GSACCHEADSETVIEW_H |
|
20 #define GSACCHEADSETVIEW_H |
|
21 |
|
22 #include "gsaccbaseview.h" |
|
23 |
|
24 /** |
|
25 * CGSAccHeadsetView view class |
|
26 * |
|
27 * view class for Headset setting |
|
28 */ |
|
29 class CGSAccHeadsetView : public CGSAccBaseView |
|
30 { |
|
31 |
|
32 public: // Constructors and destructor |
|
33 |
|
34 /** |
|
35 * Constructs a CGSAccHeadsetView object. |
|
36 * |
|
37 * @param aModel Data model for reading and writing settings. |
|
38 * @return The new object |
|
39 */ |
|
40 static CGSAccHeadsetView* NewLC( CGSAccessoryPluginModel& aModel ); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 virtual ~CGSAccHeadsetView(); |
|
46 |
|
47 private: // From CGSAccBaseView |
|
48 |
|
49 /** |
|
50 * @see class CGSAccBaseView. |
|
51 */ |
|
52 void HandleCommandL( TInt aCommand ); |
|
53 |
|
54 /** |
|
55 * @see class CGSAccBaseView. |
|
56 */ |
|
57 void NewContainerL(); |
|
58 |
|
59 /** |
|
60 * @see class CGSAccBaseView. |
|
61 */ |
|
62 void HandleListBoxSelectionL( TInt aSelectedItem ); |
|
63 |
|
64 private: // From CAknView |
|
65 |
|
66 /** |
|
67 * @see class CAknView. |
|
68 */ |
|
69 TUid Id() const; |
|
70 |
|
71 private: |
|
72 |
|
73 /** |
|
74 * First phase constructor. |
|
75 * |
|
76 * @param aModel Data model for reading and writing settings. |
|
77 */ |
|
78 CGSAccHeadsetView( CGSAccessoryPluginModel& aModel ); |
|
79 |
|
80 }; |
|
81 |
|
82 #endif // GSACCHEADSETVIEW_H |