emailuis/nmailuiengine/inc/nmaddattachmentsoperation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 12:43:55 +0300
changeset 27 9ba4404ef423
parent 23 2dc6caa42ec3
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* 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:
*
*/

#ifndef NMADDATTACHMENTSOPERATION_H_
#define NMADDATTACHMENTSOPERATION_H_

#include <QObject>
#include "nmcommon.h"
#include "nmoperation.h"

class NMUIENGINE_EXPORT NmAddAttachmentsOperation: public NmOperation
{
    Q_OBJECT
public:
    NmAddAttachmentsOperation();
    
signals:
    // The observer of the asynchronous operation can connect to this signal.
    void operationPartCompleted(const QString &fileName, const NmId &msgPartId, int result);
    
public slots:
    void completeOperationPart(const QString &fileName, const NmId &msgPartId, int result);

protected:
    virtual ~NmAddAttachmentsOperation();
};

#endif /* NMADDATTACHMENTSOPERATION_H_ */