messagingfw/deprecate/senduiservices/inc/SendUiDummyMtm.h
branchRCL_3
changeset 23 d51193d814ea
parent 22 d2c4c66342f3
child 24 002ade1da91c
equal deleted inserted replaced
22:d2c4c66342f3 23:d51193d814ea
     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:  SendUiDummyMtm  declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CSENDUIDUMMYMTM_H
       
    21 #define CSENDUIDUMMYMTM_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <mtclbase.h>
       
    25 #include <eikfutil.h>
       
    26 
       
    27 // ==========================================================
       
    28 // CSendUiDummyMtm
       
    29 // ==========================================================
       
    30 
       
    31 class CSendUiDummyMtm : public CBaseMtm
       
    32     {
       
    33     public:
       
    34         CSendUiDummyMtm(
       
    35             CRegisteredMtmDll& aRegisteredMtmDll,
       
    36             CMsvSession& aSession );
       
    37 
       
    38     public:
       
    39         inline CCharFormatLayer*& CharFormat()
       
    40             {
       
    41             return iCharFormatLayer;
       
    42             }
       
    43 
       
    44         inline CParaFormatLayer*& ParaFormat()
       
    45             {
       
    46             return iParaFormatLayer;
       
    47             }
       
    48 
       
    49         inline void SetCharFormatL(const CCharFormatLayer& aCharFormatLayer)
       
    50             {
       
    51             delete iCharFormatLayer;
       
    52             iCharFormatLayer = NULL;
       
    53             iCharFormatLayer = aCharFormatLayer.CloneL();
       
    54             }
       
    55 
       
    56         inline void SetParaFormatL(const CParaFormatLayer& aParaFormatLayer)
       
    57             {
       
    58             delete iParaFormatLayer;
       
    59             iParaFormatLayer = NULL;
       
    60             iParaFormatLayer = aParaFormatLayer.CloneL();
       
    61             }
       
    62     };
       
    63 
       
    64 #endif // CSENDUIDUMMYMTM_H
       
    65 
       
    66 // End of file