emailuis/nmframeworkadapter/inc/nmfwacheckoutboxoperation.h
branchGCC_SURGE
changeset 55 cdd802add233
parent 28 011f79704660
parent 54 997a02608b3a
equal deleted inserted replaced
28:011f79704660 55:cdd802add233
     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     bool getMessageId(NmId &messageId) const;
       
    35 
       
    36 private:
       
    37     void doRunAsyncOperation();
       
    38     void doRunAsyncOperationL();
       
    39     ~NmFwaCheckOutboxOperation();
       
    40     
       
    41 private:
       
    42     NmId mMailboxId;
       
    43     CFSMailClient &mMailClient;
       
    44     bool mFound;
       
    45     NmId mMessageId;
       
    46 
       
    47 };
       
    48 
       
    49 #endif /* NMFWACHECKOUTBOXOPERATION_H_ */