equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: This file contains the header file of the IAUpdateMainWindow |
|
15 * class |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef IAUPDATEMAINWINDOW_H_ |
|
20 #define IAUPDATEMAINWINDOW_H_ |
|
21 |
|
22 #include <qobject> |
|
23 #include <hbmainwindow.h> |
|
24 |
|
25 // Forward declarations |
|
26 class IAUpdateMainView; |
|
27 class IAUpdateHistoryView; |
|
28 class HbDocumentLoader; |
|
29 class MIAUpdateNode; |
|
30 class MIAUpdateFwNode; |
|
31 class IAUpdateServiceProvider; //temp |
|
32 |
|
33 class IAUpdateMainWindow : public HbMainWindow |
|
34 { |
|
35 Q_OBJECT |
|
36 |
|
37 public: |
|
38 IAUpdateMainWindow(); |
|
39 virtual ~IAUpdateMainWindow(); |
|
40 |
|
41 public slots: |
|
42 void toMainView(); |
|
43 void refreshMainView(const RPointerArray<MIAUpdateNode>& nodes, |
|
44 const RPointerArray<MIAUpdateFwNode>& fwNodes, |
|
45 int error); |
|
46 void toHistoryView(); |
|
47 |
|
48 private: |
|
49 void addMainView(); |
|
50 void addHistoryView(); |
|
51 |
|
52 private: |
|
53 IAUpdateMainView *mMainView; |
|
54 IAUpdateHistoryView *mHistoryView; |
|
55 |
|
56 }; |
|
57 |
|
58 #endif /* IAUPDATEMAINWINDOW */ |