connectivitymodules/SeCon/cntparser/inc/cntparserinfolog.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:20:56 +0100
branchRCL_3
changeset 20 4a793f564d72
parent 0 d0791faffa3f
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201032 Kit: 201035

/*
* Copyright (c) 2002 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:  CCntParserInfoLog header.
*    This class is intended to create the INFO.LOG file for RANSI car phone when
*    downloading contacts using IrMC L2. The implementation contains only mandatory
*    needs and some extension possibilities. This class is RANSI specific and
*    should _NOT_ be used by anyone else without a deeper knowledge.
*
*/


#ifndef _CNTPARSERINFOLOG_H_
#define _CNTPARSERINFOLOG_H_


class CCntParserInfoLog : public CBase
{
	public:
	CCntParserInfoLog();
	virtual ~CCntParserInfoLog();
	IMPORT_C static CCntParserInfoLog* NewL();
	void ConstructL();

	IMPORT_C void SaveToFileL(const TDesC& aFileName) const;

	IMPORT_C void SetTotalRecords(TInt aTotalRecords);
	IMPORT_C void SetMaximumRecords(TInt aMaximumRecords);

	IMPORT_C TInt TotalRecords() const;
	IMPORT_C TInt MaximumRecords() const;

	private:

	TInt	iTotalRecords;
	TInt	iLastUsedIndex;
	TInt	iMaximumRecords;
};

#endif // _CNTPARSERINFOLOG_H_