51
|
1 |
/*
|
|
2 |
* Copyright (c) 2000 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: Implementation of applicationmanagement components
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef FSVIEW_H_
|
|
19 |
#define FSVIEW_H_
|
|
20 |
|
|
21 |
#include <hbview.h>
|
|
22 |
#include <QObject>
|
|
23 |
|
|
24 |
class CFotaServer;
|
|
25 |
|
73
|
26 |
class HbFSView : public HbView
|
51
|
27 |
{
|
|
28 |
Q_OBJECT
|
|
29 |
|
|
30 |
public:
|
73
|
31 |
/**
|
|
32 |
* Used to disable the RSK of the dialog when resume dialogs
|
|
33 |
* @param aVal - to enable or disable the key
|
|
34 |
* @return void
|
|
35 |
*/
|
|
36 |
HbFSView();
|
|
37 |
|
|
38 |
/**
|
|
39 |
* Used to disable the RSK of the dialog when resume dialogs
|
|
40 |
* @param aVal - to enable or disable the key
|
|
41 |
* @return void
|
|
42 |
*/
|
|
43 |
~HbFSView();
|
|
44 |
|
|
45 |
/**
|
|
46 |
* Sets the instance of the fotaserver to the view to access server related variables.
|
|
47 |
* @param aServer - Instance of the fotaserver which is to be set.
|
|
48 |
* @return void
|
|
49 |
*/
|
51
|
50 |
void SetServer(CFotaServer * aServer);
|
|
51 |
|
73
|
52 |
/**
|
|
53 |
* Implements the eventFilter function of HbView and sets the fullscreen dialog to be visible
|
|
54 |
* @param object - The object on which the event is activated.
|
|
55 |
* @param event - the event ID of the event which is received
|
|
56 |
* @return void
|
|
57 |
*/
|
51
|
58 |
bool eventFilter(QObject *object, QEvent *event);
|
|
59 |
|
|
60 |
private:
|
73
|
61 |
CFotaServer *m_Server;
|
51
|
62 |
};
|
|
63 |
#endif /* FSVIEW_H_ */
|