57
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 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 the License "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: Container class for Streaming settings list view.*
|
|
15 |
*/
|
|
16 |
|
|
17 |
|
|
18 |
// Version : %version: 3 %
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
#ifndef MPSETTINGSSTREAMINGCONTAINER_H
|
|
23 |
#define MPSETTINGSSTREAMINGCONTAINER_H
|
|
24 |
|
|
25 |
// INCLUDES
|
|
26 |
#include "MPSettingsBaseContainer.h"
|
|
27 |
|
|
28 |
// FORWARD DECLARATIONS
|
|
29 |
class CEikTextListBox;
|
|
30 |
class CMPSettingsModelForROP;
|
|
31 |
class CMPSettingsStreamingSettingItemList;
|
|
32 |
|
|
33 |
// CLASS DECLARATION
|
|
34 |
/**
|
|
35 |
* CMPSettingsStreamingContainer container control class.
|
|
36 |
*
|
|
37 |
* @lib MediaSettings.app
|
|
38 |
* @since 2.0
|
|
39 |
*/
|
|
40 |
class CMPSettingsStreamingContainer : public CMPSettingsBaseContainer
|
|
41 |
{
|
|
42 |
public: // Constructors and destructor
|
|
43 |
|
|
44 |
/**
|
|
45 |
* C++ default constructor.
|
|
46 |
*/
|
|
47 |
CMPSettingsStreamingContainer(CMPSettingsModelForROP* aModel);
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Destructor.
|
|
51 |
*/
|
|
52 |
virtual ~CMPSettingsStreamingContainer();
|
|
53 |
|
|
54 |
public: // Functions from base classes
|
|
55 |
|
|
56 |
/**
|
|
57 |
* From CoeControl
|
|
58 |
*/
|
|
59 |
void GetHelpContext(TCoeHelpContext& aContext) const;
|
|
60 |
void FocusChanged(TDrawNow /*aDrawNow*/);
|
|
61 |
|
|
62 |
/**
|
|
63 |
* Edits current setting item.
|
|
64 |
*
|
|
65 |
* @param aMenuOption
|
|
66 |
*/
|
|
67 |
void EditCurrentItemFromMenuL(TBool aMenuOption);
|
|
68 |
|
|
69 |
protected: // Functions from base classes
|
|
70 |
|
|
71 |
/**
|
|
72 |
* From CMPSettingsBaseContainer
|
|
73 |
*/
|
|
74 |
void ConstructComponentControlsL();
|
|
75 |
|
|
76 |
private: // Functions from base classes
|
|
77 |
|
|
78 |
/**
|
|
79 |
* From CMPSettingsBaseContainer
|
|
80 |
*/
|
|
81 |
TInt TitleResourceId();
|
|
82 |
CMPSettingsModelForROP* iModel;
|
|
83 |
|
|
84 |
/**
|
|
85 |
* Setting item list.
|
|
86 |
*/
|
|
87 |
CMPSettingsStreamingSettingItemList* iSettingList;
|
|
88 |
|
|
89 |
};
|
|
90 |
|
|
91 |
#endif
|
|
92 |
|
|
93 |
// End of File
|