47
|
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 |
* The header file of filemanager view manager
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef TESTVIEWMANAGER_H
|
|
20 |
#define TESTVIEWMANAGER_H
|
|
21 |
|
|
22 |
#include <QObject>
|
|
23 |
#include <QList>
|
|
24 |
#include <QPixmap>
|
|
25 |
|
|
26 |
class HbView;
|
|
27 |
class FmViewManager;
|
|
28 |
class FmOperationService;
|
|
29 |
class FmOperationBase;
|
|
30 |
class HbMainWindow;
|
|
31 |
|
|
32 |
/*
|
|
33 |
* this class is used to drive the test case.
|
|
34 |
*/
|
|
35 |
|
|
36 |
class TestViewManager : public QObject
|
|
37 |
{
|
|
38 |
Q_OBJECT
|
|
39 |
|
|
40 |
public:
|
|
41 |
static TestViewManager *CreateTestViewManager( HbMainWindow* mainWindow );
|
|
42 |
static TestViewManager *viewManager();
|
|
43 |
FmOperationService *operationService();
|
|
44 |
static void RemoveViewManager();
|
|
45 |
|
|
46 |
protected:
|
|
47 |
explicit TestViewManager( HbMainWindow* mainWindow );
|
|
48 |
~TestViewManager();
|
|
49 |
|
|
50 |
private:
|
|
51 |
static TestViewManager *mTestViewManager;
|
|
52 |
|
|
53 |
private:
|
|
54 |
// main window
|
|
55 |
HbMainWindow *mMainWindow;
|
|
56 |
|
|
57 |
// operation service, used to start operations such as copy, move, delete, format...
|
|
58 |
FmOperationService *mOperationService;
|
|
59 |
};
|
|
60 |
|
|
61 |
#endif
|
|
62 |
|
|
63 |
|
|
64 |
|