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