diff -r 000000000000 -r 08ec8eefde2f loggingservices/filelogger/SSVR/FLOGMAN.INL --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loggingservices/filelogger/SSVR/FLOGMAN.INL Fri Jan 22 11:06:30 2010 +0200 @@ -0,0 +1,68 @@ +/** +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + +/** + @file + @internalTechnology +*/ + +#ifndef __FLOGSVR_INL__ +#define __FLOGSVR_INL__ + +inline void CFileLogger::IncrementAccessCount() +/** +Increments access count for every new client + +*/ + { + iAccessCount++; + } + +inline void CFileLogger::DecrementAccessCount() +/** +Decrements server acess count +*/ + { + + iAccessCount--; + __ASSERT_DEBUG(iAccessCount>=0, User::Invariant()); + } + +inline TInt CFileLogger::AccessCount() const +/** +Returns the count of accesses in the server + +@return Acess count of server session +*/ + { + return iAccessCount; + } + +inline TLogFile CFileLogger::LogFile() const + { + return iLogFile; + } + +inline TBool CFileLogger::DeletionTimerActive() const + { + return iTimer->IsActive(); + } + +#endif // __FLOGSVR_INL__ +