1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/msvscheduledentry.inl Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,172 @@
1.4 +/// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +/// All rights reserved.
1.6 +/// This component and the accompanying materials are made available
1.7 +/// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 +/// which accompanies this distribution, and is available
1.9 +/// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 +///
1.11 +/// Initial Contributors:
1.12 +/// Nokia Corporation - initial contribution.
1.13 +///
1.14 +/// Contributors:
1.15 +///
1.16 +/// Description:
1.17 +/// All rights reserved.
1.18 +/// This component and the accompanying materials are made available
1.19 +/// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.20 +/// which accompanies this distribution, and is available
1.21 +/// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.22 +/// Initial Contributors:
1.23 +/// Nokia Corporation - initial contribution.
1.24 +/// Contributors:
1.25 +///
1.26 +
1.27 +
1.28 +
1.29 +/**
1.30 +
1.31 +
1.32 +
1.33 + Gets the entry's ID.
1.34 +
1.35 + @return The entry's ID.
1.36 +*/
1.37 +
1.38 +inline const TMsvId CMsvScheduledEntry::Id() const
1.39 + {
1.40 + return iEntry.Id();
1.41 + }
1.42 +
1.43 +
1.44 +/**
1.45 +Gets the entry's OffPeak() flag.
1.46 +
1.47 +@return The entry's OffPeak() flag.
1.48 +*/
1.49 +
1.50 +inline const TBool CMsvScheduledEntry::OffPeak() const
1.51 + {
1.52 + return iEntry.OffPeak();
1.53 + }
1.54 +
1.55 +
1.56 +/**
1.57 +Gets the entry's iMtm data member.
1.58 +
1.59 +@return The entry's iMtm data member.
1.60 +*/
1.61 +
1.62 +inline const TUid CMsvScheduledEntry::Mtm() const
1.63 + {
1.64 + return iEntry.iMtm;
1.65 + }
1.66 +
1.67 +
1.68 +/**
1.69 +Gets the entry's iDate member.
1.70 +
1.71 +@return Entry's iDate member.
1.72 +*/
1.73 +
1.74 +inline const TTime& CMsvScheduledEntry::ScheduleDate() const
1.75 + {
1.76 + return iEntry.iDate;
1.77 + }
1.78 +
1.79 +
1.80 +/**
1.81 +Sets the entry's iDate member.
1.82 +
1.83 +@param aDate Entry's iDate member.
1.84 +*/
1.85 +
1.86 +inline void CMsvScheduledEntry::SetScheduleDate(const TTime& aDate)
1.87 + {
1.88 + iEntry.iDate = aDate;
1.89 + }
1.90 +
1.91 +
1.92 +/**
1.93 +Gets the entry's Scheduled() flag.
1.94 +
1.95 +@return The entry's Scheduled() flag.
1.96 +*/
1.97 +
1.98 +inline const TBool CMsvScheduledEntry::Scheduled() const
1.99 + {
1.100 + return iEntry.Scheduled();
1.101 + }
1.102 +
1.103 +
1.104 +/**
1.105 +Sets the entry's Scheduled() flag.
1.106 +
1.107 +@param aScheduled The entry's Scheduled() flag.
1.108 +*/
1.109 +
1.110 +inline void CMsvScheduledEntry::SetScheduled(const TBool aScheduled)
1.111 + {
1.112 + iEntry.SetScheduled(aScheduled);
1.113 + }
1.114 +
1.115 +
1.116 +/**
1.117 +Gets the entry's iError data member.
1.118 +
1.119 +@return The entry's iError data member.
1.120 +*/
1.121 +
1.122 +inline const TInt CMsvScheduledEntry::Error() const
1.123 + {
1.124 + return iEntry.iError;
1.125 + }
1.126 +
1.127 +
1.128 +/**
1.129 +Gets the entry's SendingState() flag.
1.130 +
1.131 +@return The entry's SendingState() flag.
1.132 +*/
1.133 +
1.134 +inline const TInt CMsvScheduledEntry::SendingState() const
1.135 + {
1.136 + return iEntry.SendingState();
1.137 + }
1.138 +
1.139 +
1.140 +/**
1.141 +Sets the entry's SendingState() flag.
1.142 +
1.143 +@param aState
1.144 +The entry's SendingState() flag.
1.145 +*/
1.146 +
1.147 +inline void CMsvScheduledEntry::SetSendingState(TInt aState)
1.148 + {
1.149 + iEntry.SetSendingState(aState);
1.150 + }
1.151 +
1.152 +
1.153 +/**
1.154 +Sets the entry's Failed() flag.
1.155 +
1.156 +@param aFail
1.157 +The entry's Failed() flag.
1.158 +*/
1.159 +
1.160 +inline void CMsvScheduledEntry::SetFailed(const TBool aFail)
1.161 + {
1.162 + iEntry.SetFailed(aFail);
1.163 + }
1.164 +
1.165 +
1.166 +/**
1.167 +Gets the entry's Failed() flag.
1.168 +
1.169 +@return The entry's Failed() flag.
1.170 +*/
1.171 +
1.172 +inline const TBool CMsvScheduledEntry::Failed() const
1.173 + {
1.174 + return iEntry.Failed();
1.175 + }