filemanager/src/filemanager/src/operationservice/fmoperationbase.h
branchRCL_3
changeset 21 65326cf895ed
parent 20 491b3ed49290
child 22 f5c50b8af68c
--- a/filemanager/src/filemanager/src/operationservice/fmoperationbase.h	Tue Aug 31 15:06:05 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-* 
-* Description:
-*     The header file of the operation param of file manager
-*
-*/
-
-#ifndef FMOPERATIONBASE_H
-#define FMOPERATIONBASE_H
-
-#include "fmoperationservice.h"
-
-#include <QObject>
-#include <QString>
-
-class FmOperationBase : public QObject
-{
-Q_OBJECT
-public:
-    explicit FmOperationBase( QObject* parent, FmOperationService::TOperationType operationType );
-    virtual ~FmOperationBase();
-
-    FmOperationService::TOperationType operationType();
-    virtual int prepare();
-    virtual void start( volatile bool *isStopped );
-    
-signals:    
-    void showNote( const QString &note );
-    void notifyWaiting( bool cancelable );
-    void notifyPreparing( bool cancelable );
-    void notifyStart( bool cancelable, int maxSteps );
-    void notifyProgress( int currentStep );    
-    void notifyFinish(); 
-    void notifyError( int error, const QString &errString );
-     
-private:
-    FmOperationService::TOperationType mOperationType;
-
-};
-
-
-class FmOperationBackup : public FmOperationBase
-{
-Q_OBJECT
-public:
-    explicit FmOperationBackup( QObject *parent, const QString &targetDrive, quint32 content );
-    virtual ~FmOperationBackup();
-    
-    QString targetDrive() const;
-    quint32 content() const ;
-private:
-    // used to save backup target drive
-    QString mTargetDrive;
-    
-    // used to save FmBackupSettings::content()
-    quint32 mContent;
-};
-
-class FmOperationRestore : public FmOperationBase
-{
-Q_OBJECT
-public:
-    explicit FmOperationRestore( QObject *parent, quint64 selection );
-    virtual ~FmOperationRestore();
-
-    quint64 selection() const;
-private:
-    quint64                 mSelection;
-};
-
-#endif