1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // 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
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 Tests whether the Log Engine is installed.
26 @return True if there is a Log Engine, otherwise false
29 inline TBool CSmsEventLogger::ClientAvailable() const
31 return iLogWrapper->ClientAvailable();
36 * Gets a standard string from the specified resource.
40 * @param aString On return, string read from resource
41 * @param aId Resource ID
42 * @return KErrNone, if successful; otherwise, one of the other system wide error
45 inline TInt CSmsEventLogger::GetString(TDes& aString, TInt aId) const
47 return iLogWrapper->Log().GetString(aString,aId);
52 * Gets the current log event.
56 * @return Current log event
58 inline CLogEvent& CSmsEventLogger::Event()
65 * Gets the current (const) log event.
69 * @return Current log event
71 inline const CLogEvent& CSmsEventLogger::Event() const
78 * Gets the current event's SMS PDU data.
82 * @return Current event's SMS PDU data
84 inline const TLogSmsPduData& CSmsEventLogger::SmsPDUData() const
91 * Gets the current event's SMS PDU data.
94 inline void CSmsEventLogger::GetStringL(TDes& aString, TInt aId) const
96 User::LeaveIfError(iLogWrapper->Log().GetString(aString,aId));