email/imum/Mtms/Inc/ImumMtmBaseMtmUi.h
branchRCL_3
changeset 60 7fdbb852d323
parent 0 72b543305e3a
equal deleted inserted replaced
57:ebe688cedc25 60:7fdbb852d323
       
     1 /*
       
     2 * Copyright (c) 2002 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: ImumMtmBaseMtmUi.h
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CIMUMMTMBASEMTMUI_H
       
    20 #define CIMUMMTMBASEMTMUI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <ImumInternalApi.h>    // CImumInternalApi
       
    25 #include <ImumInMailboxUtilities.h>
       
    26 #include <mtmuibas.h>           // CBaseMtmUi
       
    27 #include <ErrorUI.h>            // CErrorUI
       
    28 #include <muiuflagger.h>        // CMuiuFlags
       
    29 
       
    30 #include "ImumMtmBaseMtmUi.h"
       
    31 
       
    32 // CONSTANTS
       
    33 // MACROS
       
    34 // DATA TYPES
       
    35 // FUNCTION PROTOTYPES
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *
       
    42 *  @lib
       
    43 *  @since S60 3.2
       
    44 */
       
    45 NONSHARABLE_CLASS( CImumMtmBaseMtmUi ) : public CBaseMtmUi
       
    46     {
       
    47     public:  // Constructors and destructor
       
    48 
       
    49         /**
       
    50         * Destructor
       
    51         * @since S60 3.2
       
    52         */
       
    53         virtual ~CImumMtmBaseMtmUi();
       
    54 
       
    55     public: // New functions
       
    56     public: // Functions from base classes
       
    57 
       
    58         /**
       
    59          *
       
    60          *
       
    61          * @since S60 v3.2
       
    62          */
       
    63         CMsvOperation* DeleteServiceL(
       
    64             const TMsvEntry& aService,
       
    65             TRequestStatus& aStatus );
       
    66 
       
    67     protected:  // Constructors
       
    68 
       
    69         /**
       
    70         * Default constructor for classCImumMtmBaseMtmUi
       
    71         * @since S60 3.2
       
    72         * @return, Constructed object
       
    73         */
       
    74         CImumMtmBaseMtmUi(
       
    75             CBaseMtm& aBaseMtm,
       
    76             CRegisteredMtmDll& aRegisteredMtmDll );
       
    77 
       
    78         /**
       
    79         * Symbian 2-phase constructor
       
    80         * @since S60 3.2
       
    81         */
       
    82         void ConstructL();
       
    83 
       
    84     protected:  // New virtual functions
       
    85 
       
    86         /**
       
    87          *
       
    88          * @since S60 3.2
       
    89          * @param
       
    90          * @return
       
    91          */
       
    92         TBool AcknowledgeReceiptsL(
       
    93             const TMsvId aMessageId,
       
    94             const MImumInMailboxUtilities::TImumInMboxRequest& aRequestType =
       
    95                 MImumInMailboxUtilities::ERequestReceiving ) const;
       
    96 
       
    97         /**
       
    98          * Returns mail deletion mode from central repository, if repository
       
    99          * is unable to read retruns EIMASMailDeletionAlwaysAsk
       
   100          *
       
   101          * @since S60 3.2
       
   102          * @return TIMASMailDeletionMode
       
   103          */
       
   104         TInt GetMailDeletionModeL() const;
       
   105 
       
   106     protected:  // New functions
       
   107     protected:  // Functions from base classes
       
   108 
       
   109     private:  // New virtual functions
       
   110     private:  // New functions
       
   111     private:  // Functions from base classes
       
   112 
       
   113     public:     // Data
       
   114     protected:  // Data
       
   115 
       
   116         // Own: Internal API
       
   117         CImumInternalApi*           iMailboxApi;
       
   118         // Shortcut to utilities
       
   119         MImumInMailboxUtilities*    iUtils;
       
   120         // Message server session
       
   121         CMsvSession*                iMsvSession;
       
   122         // Own: Error UI
       
   123         CErrorUI*                   iErrorResolver;
       
   124         // Own: Flags
       
   125         CMuiuFlags*                 iFeatureFlags;
       
   126 
       
   127     private:    // Data
       
   128     };
       
   129 
       
   130 #endif //  CIMUMMTMBASEMTMUI_H
       
   131 
       
   132 // End of File