emailuis/nmframeworkadapter/inc/nmfwacheckoutboxoperation.h
changeset 18 578830873419
child 20 ecc8def7944a
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     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  *
       
    16  */
       
    17 
       
    18 #ifndef NMFWACHECKOUTBOXOPERATION_H_
       
    19 #define NMFWACHECKOUTBOXOPERATION_H_
       
    20 
       
    21 #include <nmcheckoutboxoperation.h>
       
    22 #include <nmcommon.h>
       
    23 
       
    24 class CFSMailClient;
       
    25 
       
    26 class NmFwaCheckOutboxOperation : public NmCheckOutboxOperation
       
    27 {
       
    28     Q_OBJECT
       
    29 public:
       
    30     NmFwaCheckOutboxOperation(
       
    31         const NmId &mailboxId,
       
    32         CFSMailClient &mailClient);
       
    33     
       
    34     virtual ~NmFwaCheckOutboxOperation();
       
    35     
       
    36     virtual bool getMessageId(NmId &messageId) const;
       
    37 
       
    38 private slots:
       
    39     virtual void runAsyncOperation();
       
    40     
       
    41 private:
       
    42     void runAsyncOperationL();
       
    43 
       
    44 private:
       
    45     NmId mMailboxId;
       
    46 
       
    47     CFSMailClient &mMailClient;
       
    48 
       
    49     bool mFound;
       
    50 
       
    51     NmId mMessageId;
       
    52 };
       
    53 
       
    54 #endif /* NMFWACHECKOUTBOXOPERATION_H_ */