filemanager/src/filemanager/src/operationservice/fmoperationformat.h
changeset 16 ada7962b4308
child 33 328cf6fbe40c
equal deleted inserted replaced
14:1957042d8c7e 16:ada7962b4308
       
     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 FMOPERATIONFORMAT_H
       
    20 #define FMOPERATIONFORMAT_H
       
    21 
       
    22 #include "fmoperationbase.h"
       
    23 
       
    24 #include <QObject>
       
    25 #include <QString>
       
    26 
       
    27 class FmOperationFormat : public FmOperationBase
       
    28 {
       
    29     Q_OBJECT
       
    30 public:
       
    31     explicit FmOperationFormat( QObject *parent, QString mDriverName );
       
    32     virtual ~FmOperationFormat();
       
    33     QString driverName();
       
    34     
       
    35     int start();
       
    36 
       
    37 signals:
       
    38     void notifyStart( bool cancelable, int maxSteps );
       
    39     void notifyProgress( int currentStep );
       
    40     void notifyPreparing( bool cancelable );
       
    41     
       
    42 private:
       
    43     QString mDriverName;
       
    44     
       
    45     int mTotalSteps;
       
    46 };
       
    47 
       
    48 #endif