1 // Copyright (c) 1997-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.
23 #ifndef __FLOGGER_INL__
24 #define __FLOGGER_INL__
29 TSignal inline functions
32 inline FLogger::TSignal::TSignal(TRequestStatus& aStatus)
33 :iStatus(&aStatus),iId(RThread().Id())
35 Sets aStatus with the value KRequestPending.
39 aStatus=KRequestPending;
42 inline TPtrC FLogger::TSignal::Command() const
46 return TPtrC((const TText*)this,sizeof(*this)/sizeof(TText));
49 inline TInt FLogger::TSignal::Set(const TDesC& aCommand)
51 Sets aCommand with "this" pointer value.
53 @return KErrNone, if successful.
56 if (aCommand.Size()!=sizeof(*this))
59 return (Mem::Copy(this,aCommand.Ptr(),sizeof(*this)),KErrNone);
63 TLogFile inline functions
66 inline TBool TLogFile::Valid() const
68 @return EFalse for invalid file name.
74 inline TFileName TLogFile::Directory() const
76 @return iDirectory the full path of the folder.
82 inline TFileName TLogFile::Name() const
84 @return iName the file name of the log.
90 inline TFileLoggingMode TLogFile::Mode() const
92 @return iMode the mode of the log file.
98 inline void TLogFile::SetValid(TBool aValid)
100 Sets iValid with the value aValid.
106 #endif // __FLOGGER_INL__