epoc32/include/logcli.inl
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
--- a/epoc32/include/logcli.inl	Wed Mar 31 12:27:01 2010 +0100
+++ b/epoc32/include/logcli.inl	Wed Mar 31 12:33:34 2010 +0100
@@ -1,9 +1,9 @@
 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
-// 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
+// under the terms of "Eclipse Public License v1.0"
 // which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
 //
 // Initial Contributors:
 // Nokia Corporation - initial contribution.
@@ -15,49 +15,48 @@
 // 
 //
 
-inline TUid CLogEventType::Uid() const
 /** Gets the UID identifying the event type.
 
 @return The UID. */
+inline TUid CLogEventType::Uid() const
 	{
 	return iUid;
 	}
 
-inline void CLogEventType::SetUid(TUid aUid)
 /** Sets the UID identifying the event type.
 
 @param aUid The Uid. */
+inline void CLogEventType::SetUid(TUid aUid)
 	{
 	iUid = aUid;
 	}
 
-inline const TDesC& CLogEventType::Description() const
 /** Gets the human readable and localised name of the event type.
 
 @return A non-modifiable descriptor containing the name. */
+inline const TDesC& CLogEventType::Description() const
 	{
 	return *iDescription;
 	}
 
-inline void CLogEventType::SetDescription(const TDesC& aDescription)
 /** Sets the human readable and localised name of the event type.
 
 For example, Email.
 
 @param aDescription The name. */
+inline void CLogEventType::SetDescription(const TDesC& aDescription)
 	{
 	iDescription->Des().Copy(aDescription);
 	}
 
-inline TBool CLogEventType::LoggingEnabled() const
 /** Determines whether logging for this event type is enabled.
 
 @return ETrue, if logging is enabled. EFalse, if logging is disabled. */
+inline TBool CLogEventType::LoggingEnabled() const
 	{
 	return iLoggingEnabled;
 	}
 
-inline void CLogEventType::SetLoggingEnabled(TBool aEnable)
 /** Enables or disables logging for this event type.
 
 Note that disabling the logging of an event type causes a CLogClient::AddEventL() 
@@ -66,6 +65,7 @@
 @param aEnable ETrue, to enable logging for this event type.EFalse, to disable 
 logging for this event type.
 @see CLogClient::AddEvent() */
+inline void CLogEventType::SetLoggingEnabled(TBool aEnable)
 	{
 	iLoggingEnabled = aEnable;
 	}
@@ -74,144 +74,143 @@
 // CLogFilter
 //**********************************
 
-inline TUid CLogFilter::EventType() const
 /** Gets the event type used by the filter.
 
 @return The event type UID.
 @see CLogEvent::EventType() */
+inline TUid CLogFilter::EventType() const
 	{
 	return iEventType;
 	}
 
-inline void CLogFilter::SetEventType(TUid aType)
 /** Sets the event type to be used by the filter.
 
 @param aType The event type UID.
 @see CLogEvent::SetEventType() */
+inline void CLogFilter::SetEventType(TUid aType)
 	{
 	iEventType = aType;
 	}
 
-inline const TDesC& CLogFilter::RemoteParty() const
 /** Gets the remote party string used by the filter.
 
 @return A non-modifiable descriptor containing the remote party string.
 @see CLogEvent::RemoteParty() */
+inline const TDesC& CLogFilter::RemoteParty() const
 	{
 	return *iRemoteParty;
 	}
 
-inline void CLogFilter::SetRemoteParty(const TDesC& aRemote)
 /** Sets the remote party string to be used by the filter.
 
 @param aRemote The remote party string.
 @see CLogEvent::SetRemoteParty() */
+inline void CLogFilter::SetRemoteParty(const TDesC& aRemote)
 	{
 	iRemoteParty->Des().Copy(aRemote);
 	}
 
-inline const TDesC& CLogFilter::Direction() const
 /** Gets the direction string used by the filter.
 
 @return A non-modifiable descriptor containing the direction string.
 @see CLogEvent::Direction() */
+inline const TDesC& CLogFilter::Direction() const
 	{
 	return *iDirection;
 	}
 
-inline void CLogFilter::SetDirection(const TDesC& aDirection)
 /** Sets the direction string to be used by the filter.
 
 @param aDirection The direction string.
 @see CLogEvent::SetDirection() */
+inline void CLogFilter::SetDirection(const TDesC& aDirection)
 	{
 	iDirection->Des().Copy(aDirection);
 	}
 
-inline TLogDurationType CLogFilter::DurationType() const
 /** Gets the duration type used by the filter.
 
 @return The duration type.
 @see CLogEvent::DurationType() */
+inline TLogDurationType CLogFilter::DurationType() const
 	{
 	return iDurationType;
 	}
 
-inline void CLogFilter::SetDurationType(TLogDurationType aType)
 /** Sets the duration type to be used by the filter.
 
 @param aType The duration type.
 @see CLogEvent::SetDurationType() */
+inline void CLogFilter::SetDurationType(TLogDurationType aType)
 	{
 	iDurationType = aType;
 	}
 
-inline const TDesC& CLogFilter::Status() const
 /** Gets the delivery status used by the filter.
 
 @return A non-modifiable descriptor containing the delivery status.
 @see CLogEvent::Status() */
+inline const TDesC& CLogFilter::Status() const
 	{
 	return *iStatus;
 	}
 
-inline void CLogFilter::SetStatus(const TDesC& aStatus)
 /** Sets the delivery status to be used by the filter.
 
 @param aStatus The delivery status.
 @see CLogEvent::SetStatus() */
+inline void CLogFilter::SetStatus(const TDesC& aStatus)
 	{
 	iStatus->Des().Copy(aStatus);
 	}
 
-inline TLogContactItemId  CLogFilter::Contact() const
 /** Gets the contact ID used by the filter.
 
 @return The contact ID.
 @see CLogEvent::Contact() */
+inline TLogContactItemId  CLogFilter::Contact() const
 	{
 	return iContact;
 	}
 
-inline void CLogFilter::SetContact(TLogContactItemId  aContact)
 /** Sets the contact ID to be used by the filter.
 
 @param aContact The contact ID.
 @see CLogEvent::SetContact() */
+inline void CLogFilter::SetContact(TLogContactItemId  aContact)
 	{
 	iContact = aContact;
 	}
 
-inline const TDesC& CLogFilter::Number() const
 /** Gets the phone number used by the filter.
 
 @return A non-modifiable descriptor containing the phone number.
 @see CLogEvent::Number() */
+inline const TDesC& CLogFilter::Number() const
 	{
 	return *iNumber;
 	}
 
-inline void CLogFilter::SetNumber(const TDesC& aNumber)
 /** Sets the phone number to be used by the filter.
 
 @param aNumber The phone number.
 @see CLogEvent::SetNumber() */
+inline void CLogFilter::SetNumber(const TDesC& aNumber)
 	{
 	iNumber->Des().Copy(aNumber);
 	}
 
-inline TUint32 CLogFilter::NullFields() const
 /** Identifies the fields defined as NULL in the filter. These are the fields that 
 the filter expects to be NULL in the database. A NULL field is one that has 
 no value.
 
 @return Bit values defining the null fields.
 @see SetNullFields() */
+inline TUint32 CLogFilter::NullFields() const
 	{
 	return iNullFields;
 	}
 
-inline void CLogFilter::SetNullFields(TUint32 aFields)
 /** Defines NULL fields to the filter. These are the fields that the filter expects 
 to be NULL in the database. A NULL field is one that has no value.
 
@@ -224,70 +223,67 @@
 @param aFields Bit values defining the null fields. These are one or more 
 of the following values defined in logwrap.hrh: ELogContactField, ELogDirectionField, 
 ELogDurationTypeField, ELogEventTypeField, ELogNumberField, ELogRemotePartyField, 
-ELogStatusField, ELogFlagsField, ELogSubjectField, ELogLinkField and ELogDataField. */
+ELogStatusField, ELogFlagsField, ELogSubjectField, ELogLinkField, ELogDataField, ELogSimIdField. */
+inline void CLogFilter::SetNullFields(TUint32 aFields)
 	{
 	iNullFields = aFields;
 	}
 
-inline const TTime& CLogFilter::StartTime() const
 /** Gets the UTC start time used by the filter.
 
-@since 7.0s
 @return The UTC start time. */
+inline const TTime& CLogFilter::StartTime() const
 	{
 	return iStartTime;
 	}
 
-inline void CLogFilter::SetStartTime(const TTime& aStartTime)
 /** Sets the specified UTC start time to be used by the filter.
 
-@since 7.0s
 @param aStartTime The UTC start time to be set. */
+inline void CLogFilter::SetStartTime(const TTime& aStartTime)
 	{
 	iStartTime = aStartTime; 
 	}
 	
-inline const TTime& CLogFilter::EndTime() const
 /** Gets the UTC end time used by the filter.
 
-@since 7.0s
 @return The UTC end time. */
+inline const TTime& CLogFilter::EndTime() const
 	{
 	return iEndTime;
 	}
 
-inline void CLogFilter::SetEndTime(const TTime& aEndTime)
 /** Sets the specified UTC end time to be used by the filter.
 
-@since 7.0s
 @param aEndTime The UTC end time to be set. */
+inline void CLogFilter::SetEndTime(const TTime& aEndTime)
 	{
 	iEndTime = aEndTime;
 	}
 
-inline TLogFlags CLogFilter::Flags() const
 /** Gets the flags used by the filter.
 
 @return The flags. */
+inline TLogFlags CLogFilter::Flags() const
 	{
 	return iFlags;
 	}
 
-inline void CLogFilter::SetFlags(TLogFlags aFlags)
 /** Sets the specified flags to be used by the filter.
 
 @param aFlags The flags to be set. */
+inline void CLogFilter::SetFlags(TLogFlags aFlags)
 	{
 	__ASSERT_DEBUG(aFlags <= KLogFlagsMask, User::Invariant());
 	iFlags = (TLogFlags)(iFlags | aFlags);
 	}
 
-inline void CLogFilter::ClearFlags(TLogFlags aFlags)
 /** Clears the specified flags to be used by the filter. 
 
 The constant KLogFlagsMask can be used to clear all the flags.
 
 @param aFlags The flags to be cleared */
+inline void CLogFilter::ClearFlags(TLogFlags aFlags)
 	{
 	__ASSERT_DEBUG(aFlags <= KLogFlagsMask, User::Invariant());
 	iFlags = (TLogFlags)(iFlags & ~aFlags);