messagingapp/msgui/unifiededitor/inc/msgunieditormonitor.inl
changeset 76 60a8a215b0ec
parent 73 ecf6a73a9186
equal deleted inserted replaced
73:ecf6a73a9186 76:60a8a215b0ec
     1 /*
       
     2 * Copyright (c) 2007 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: msgmonitor.inl
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 // ========== INLINE METHODS ===============================
       
    20 
       
    21 //---------------------------------------------------------------
       
    22 // MsgUnifiedEditorMonitor::setSkipNote
       
    23 // @see header file
       
    24 //---------------------------------------------------------------
       
    25 inline void MsgUnifiedEditorMonitor::setSkipNote(bool skip)
       
    26 {
       
    27     mSkipNote = skip;
       
    28 }
       
    29 
       
    30 //---------------------------------------------------------------
       
    31 // MsgUnifiedEditorMonitor::messageType
       
    32 // @see header file
       
    33 //---------------------------------------------------------------
       
    34 inline ConvergedMessage::MessageType MsgUnifiedEditorMonitor::messageType()
       
    35 {
       
    36     return mMessageType;
       
    37 }
       
    38 
       
    39 //---------------------------------------------------------------
       
    40 // MsgUnifiedEditorMonitor::messageSize
       
    41 // @see header file
       
    42 //---------------------------------------------------------------
       
    43 inline int MsgUnifiedEditorMonitor::messageSize()
       
    44 {
       
    45     return mBodySize + mContainerSize + mSubjectSize;
       
    46 }
       
    47 
       
    48 //---------------------------------------------------------------
       
    49 // MsgUnifiedEditorMonitor::bodySize
       
    50 // @see header file
       
    51 //---------------------------------------------------------------
       
    52 inline int MsgUnifiedEditorMonitor::bodySize()
       
    53 {
       
    54     return mBodySize;
       
    55 }
       
    56 
       
    57 //---------------------------------------------------------------
       
    58 // MsgUnifiedEditorMonitor::containerSize
       
    59 // @see header file
       
    60 //---------------------------------------------------------------
       
    61 inline int MsgUnifiedEditorMonitor::containerSize()
       
    62 {
       
    63     return mContainerSize;
       
    64 }
       
    65 
       
    66 //---------------------------------------------------------------
       
    67 // MsgUnifiedEditorMonitor::subjectSize
       
    68 // @see header file
       
    69 //---------------------------------------------------------------
       
    70 inline int MsgUnifiedEditorMonitor::subjectSize()
       
    71 {
       
    72     return mSubjectSize;
       
    73 }
       
    74 
       
    75 //---------------------------------------------------------------
       
    76 // MsgUnifiedEditorMonitor::maxMmsSize
       
    77 // @see header file
       
    78 //---------------------------------------------------------------
       
    79 inline int MsgUnifiedEditorMonitor::maxMmsSize()
       
    80 {
       
    81     return mMaxMmsSize;
       
    82 }
       
    83 
       
    84 //---------------------------------------------------------------
       
    85 // MsgUnifiedEditorMonitor::maxSmsRecipients
       
    86 // @see header file
       
    87 //---------------------------------------------------------------
       
    88 inline int MsgUnifiedEditorMonitor::maxSmsRecipients()
       
    89 {
       
    90     return mMaxSmsRecipients;
       
    91 }
       
    92 
       
    93 //---------------------------------------------------------------
       
    94 // MsgUnifiedEditorMonitor::maxMmsRecipients
       
    95 // @see header file
       
    96 //---------------------------------------------------------------
       
    97 inline int MsgUnifiedEditorMonitor::maxMmsRecipients()
       
    98 {
       
    99     return mMaxMmsRecipients;
       
   100 }
       
   101 
       
   102 //---------------------------------------------------------------
       
   103 // MsgUnifiedEditorMonitor::msgAddressCount
       
   104 // @see header file
       
   105 //---------------------------------------------------------------
       
   106 inline int MsgUnifiedEditorMonitor::msgAddressCount()
       
   107 {
       
   108     return mMsgCurrAddressCount;
       
   109 }
       
   110 
       
   111 //  End of File