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 "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 Tests whether the Log Engine is installed.
23 @return True if there is a Log Engine, otherwise false
26 inline TBool CSmsEventLogger::ClientAvailable() const
28 return iLogWrapper->ClientAvailable();
32 * Gets a standard string from the specified resource.
36 * @param aString On return, string read from resource
37 * @param aId Resource ID
38 * @return KErrNone, if successful; otherwise, one of the other system wide error
41 inline TInt CSmsEventLogger::GetString(TDes& aString, TInt aId) const
43 return iLogWrapper->Log().GetString(aString,aId);
47 * Gets the current log event.
51 * @return Current log event
53 inline CLogEvent& CSmsEventLogger::Event()
59 * Gets the current (const) log event.
63 * @return Current log event
65 inline const CLogEvent& CSmsEventLogger::Event() const
71 * Gets the current event's SMS PDU data.
75 * @return Current event's SMS PDU data
77 inline const TLogSmsPduData& CSmsEventLogger::SmsPDUData() const
83 * Gets the current event's SMS PDU data.
86 inline void CSmsEventLogger::GetStringL(TDes& aString, TInt aId) const
88 User::LeaveIfError(iLogWrapper->Log().GetString(aString,aId));