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: Declares view for application.*
|
|
15 |
*/
|
|
16 |
|
|
17 |
|
|
18 |
// Version : %version: 3 %
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
#ifndef MPSETTINGSSTREAMINGVIEW_H
|
|
23 |
#define MPSETTINGSSTREAMINGVIEW_H
|
|
24 |
|
|
25 |
// INCLUDES
|
|
26 |
#include <eikclb.h> //MEikListBoxObserver
|
|
27 |
#include "MPSettingsBaseView.h" //CMPSettingsBaseView
|
|
28 |
|
|
29 |
// CLASS DECLARATION
|
|
30 |
class CMPSettingsModelForROP;
|
|
31 |
|
|
32 |
/**
|
|
33 |
* CMPSettingsStreamingView view class.
|
|
34 |
*
|
|
35 |
*/
|
|
36 |
class CMPSettingsStreamingView : public CMPSettingsBaseView
|
|
37 |
{
|
|
38 |
public: // Constructors and destructor
|
|
39 |
|
|
40 |
/**
|
|
41 |
* Two-phased constructor.
|
|
42 |
*/
|
|
43 |
static CMPSettingsStreamingView* NewLC(CMPSettingsModelForROP* aModel );
|
|
44 |
|
|
45 |
/**
|
|
46 |
* Destructor.
|
|
47 |
*/
|
|
48 |
virtual ~CMPSettingsStreamingView();
|
|
49 |
|
|
50 |
public: // Functions from base classes
|
|
51 |
|
|
52 |
/**
|
|
53 |
* From CAknView
|
|
54 |
*/
|
|
55 |
TUid Id() const;
|
|
56 |
|
|
57 |
/**
|
|
58 |
* From MEikMenuObserver
|
|
59 |
*/
|
|
60 |
void HandleCommandL(TInt aCommand);
|
|
61 |
|
|
62 |
protected: // from MEikListBoxObserver
|
|
63 |
|
|
64 |
|
|
65 |
protected: // From CMPSettingsBaseView
|
|
66 |
|
|
67 |
/**
|
|
68 |
* Called at the end of DoActivateL.
|
|
69 |
*/
|
|
70 |
void DynInitContainerL();
|
|
71 |
|
|
72 |
/**
|
|
73 |
* Creates new view specific container class.
|
|
74 |
*/
|
|
75 |
CMPSettingsBaseContainer* NewContainerL();
|
|
76 |
|
|
77 |
private:
|
|
78 |
/**
|
|
79 |
* C++ default constructor.
|
|
80 |
*/
|
|
81 |
CMPSettingsStreamingView(CMPSettingsModelForROP* aModel );
|
|
82 |
|
|
83 |
/**
|
|
84 |
* Symbian 2nd phase constructor.
|
|
85 |
*/
|
|
86 |
void ConstructL();
|
|
87 |
|
|
88 |
private: // New
|
|
89 |
|
|
90 |
/**
|
|
91 |
* Handles listbox selection.
|
|
92 |
*/
|
|
93 |
CMPSettingsModelForROP* iModel;
|
|
94 |
|
|
95 |
};
|
|
96 |
|
|
97 |
#endif
|
|
98 |
|
|
99 |
// End of File
|