loggingservices/filelogger/SSVR/FLOGMAN.INL
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 14:35:19 +0300
branchRCL_3
changeset 15 fcc16690f446
parent 0 08ec8eefde2f
permissions -rw-r--r--
Revision: 201021 Kit: 2010121

/**
* 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__