ipsservices/ipssosplugin/src/ipsplgbaseoperation.cpp
changeset 0 8466d47a6819
child 24 d189ee25cf9d
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  Base operation class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include "emailtrace.h"
       
    21 #include "ipsplgheaders.h"
       
    22 
       
    23 
       
    24 // ----------------------------------------------------------------------------
       
    25 // CIpsPlgBaseOperation::~CIpsPlgBaseOperation()
       
    26 // ----------------------------------------------------------------------------
       
    27 //
       
    28 CIpsPlgBaseOperation::~CIpsPlgBaseOperation()
       
    29     {
       
    30     FUNC_LOG;
       
    31     // Cancel() should be called in deriving classes;
       
    32     }
       
    33 
       
    34         
       
    35 // ----------------------------------------------------------------------------
       
    36 // CIpsPlgBaseOperation::CIpsPlgBaseOperation()
       
    37 // ----------------------------------------------------------------------------
       
    38 //
       
    39 CIpsPlgBaseOperation::CIpsPlgBaseOperation(
       
    40     CMsvSession& aMsvSession,
       
    41     TInt aPriority,
       
    42     TRequestStatus& aObserverRequestStatus,
       
    43     TInt aFSRequestId,
       
    44     TFSMailMsgId aFSMailboxId )
       
    45     :
       
    46     CMsvOperation( aMsvSession, aPriority, aObserverRequestStatus ),
       
    47     iFSRequestId( aFSRequestId ), iFSMailboxId( aFSMailboxId )
       
    48     {
       
    49     FUNC_LOG;
       
    50     }
       
    51 
       
    52 // ----------------------------------------------------------------------------
       
    53 // CIpsPlgBaseOperation::FSRequestId()
       
    54 // ----------------------------------------------------------------------------    
       
    55 //   
       
    56 TInt CIpsPlgBaseOperation::FSRequestId() const
       
    57     {
       
    58     FUNC_LOG;
       
    59     return iFSRequestId;
       
    60     }
       
    61     
       
    62 // ----------------------------------------------------------------------------
       
    63 // CIpsPlgBaseOperation::FSMailboxId()
       
    64 // ----------------------------------------------------------------------------    
       
    65 //   
       
    66 TFSMailMsgId CIpsPlgBaseOperation::FSMailboxId() const
       
    67     {
       
    68     FUNC_LOG;
       
    69     return iFSMailboxId;
       
    70     }
       
    71 
       
    72 // ----------------------------------------------------------------------------
       
    73 // ----------------------------------------------------------------------------    
       
    74 //   
       
    75 TInt CIpsPlgBaseOperation::IpsOpType() const
       
    76     {
       
    77     FUNC_LOG;
       
    78     return EIpsOpTypeUnknown;
       
    79     }
       
    80