31
|
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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef MEMSPYHEAPDUMPSVIEW_H_
|
|
19 |
#define MEMSPYHEAPDUMPSVIEW_H_
|
|
20 |
|
|
21 |
#include "memspyview.h"
|
|
22 |
|
|
23 |
class HbDataFormModel;
|
|
24 |
class HbDataFormModelItem;
|
|
25 |
|
|
26 |
class MemSpyHeapDumpsView : public MemSpyView
|
|
27 |
{
|
|
28 |
Q_OBJECT
|
|
29 |
|
|
30 |
public:
|
|
31 |
MemSpyHeapDumpsView(EngineWrapper &engine, ViewManager &viewManager);
|
|
32 |
virtual ~MemSpyHeapDumpsView();
|
|
33 |
|
|
34 |
void initialize(const QVariantMap& params);
|
|
35 |
|
|
36 |
protected:
|
|
37 |
HbToolBar* createToolBar();
|
|
38 |
|
|
39 |
HbWidget* createCentralWidget();
|
|
40 |
|
|
41 |
private slots:
|
|
42 |
void modeChanged(int mode);
|
|
43 |
void dump();
|
|
44 |
|
|
45 |
void updateDwoProgress(int progress, const QString& processName);
|
|
46 |
void asyncOperationFinished(int errorCode);
|
|
47 |
|
|
48 |
|
|
49 |
private:
|
|
50 |
void removeFilterItem();
|
|
51 |
void createFilterItem();
|
|
52 |
|
|
53 |
private:
|
|
54 |
HbDataFormModel* mModel;
|
|
55 |
HbDataFormModelItem* mModeItem;
|
|
56 |
HbDataFormModelItem* mFilterItem;
|
|
57 |
|
|
58 |
HbProgressDialog* mDwoProgressDialog;
|
|
59 |
};
|
|
60 |
|
|
61 |
#endif /* MEMSPYHEAPDUMPSVIEW_H_ */
|