33
|
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 the operation param of file manager
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef FMOPERATIONVIEWDETAILS_H
|
|
20 |
#define FMOPERATIONVIEWDETAILS_H
|
|
21 |
|
|
22 |
#include "fmoperationservice.h"
|
|
23 |
#include "fmoperationbase.h"
|
|
24 |
|
|
25 |
#include <QObject>
|
|
26 |
#include <QString>
|
|
27 |
|
|
28 |
class FmOperationDriveDetails : public FmOperationBase
|
|
29 |
{
|
|
30 |
public:
|
|
31 |
explicit FmOperationDriveDetails( QObject *parent, const QString &driverName );
|
|
32 |
|
|
33 |
virtual ~FmOperationDriveDetails();
|
|
34 |
QString driverName();
|
|
35 |
virtual void start( volatile bool *isStopped );
|
|
36 |
QList<FmDriveDetailsSize*> &detailsSizeList();
|
|
37 |
|
|
38 |
private:
|
|
39 |
QString mDriverName;
|
|
40 |
QList<FmDriveDetailsSize*> mDetailsSizeList;
|
|
41 |
volatile bool *mStop;
|
|
42 |
};
|
|
43 |
|
|
44 |
class FmOperationFolderDetails : public FmOperationBase
|
|
45 |
{
|
|
46 |
public:
|
|
47 |
explicit FmOperationFolderDetails( QObject *parent, const QString &folderPath );
|
|
48 |
|
|
49 |
virtual ~FmOperationFolderDetails();
|
|
50 |
virtual void start( volatile bool *isStopped );
|
|
51 |
|
|
52 |
QString folderPath();
|
|
53 |
int &numofSubFolders();
|
|
54 |
int &numofFiles();
|
|
55 |
quint64 &sizeofFolder();
|
|
56 |
|
|
57 |
private:
|
|
58 |
QString mFolderPath;
|
|
59 |
int mNumofSubFolders;
|
|
60 |
int mNumofFiles;
|
|
61 |
quint64 mSizeofFolder;
|
|
62 |
volatile bool *mStop;
|
|
63 |
};
|
|
64 |
#endif
|