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 // End of File |
|