connectivitymodules/SeCon/cntparser/inc/cntparserinfolog.h
branchRCL_3
changeset 20 4a793f564d72
parent 0 d0791faffa3f
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  CCntParserInfoLog header.
       
    15 *    This class is intended to create the INFO.LOG file for RANSI car phone when
       
    16 *    downloading contacts using IrMC L2. The implementation contains only mandatory
       
    17 *    needs and some extension possibilities. This class is RANSI specific and
       
    18 *    should _NOT_ be used by anyone else without a deeper knowledge.
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 #ifndef _CNTPARSERINFOLOG_H_
       
    24 #define _CNTPARSERINFOLOG_H_
       
    25 
       
    26 
       
    27 class CCntParserInfoLog : public CBase
       
    28 {
       
    29 	public:
       
    30 	CCntParserInfoLog();
       
    31 	virtual ~CCntParserInfoLog();
       
    32 	IMPORT_C static CCntParserInfoLog* NewL();
       
    33 	void ConstructL();
       
    34 
       
    35 	IMPORT_C void SaveToFileL(const TDesC& aFileName) const;
       
    36 
       
    37 	IMPORT_C void SetTotalRecords(TInt aTotalRecords);
       
    38 	IMPORT_C void SetMaximumRecords(TInt aMaximumRecords);
       
    39 
       
    40 	IMPORT_C TInt TotalRecords() const;
       
    41 	IMPORT_C TInt MaximumRecords() const;
       
    42 
       
    43 	private:
       
    44 
       
    45 	TInt	iTotalRecords;
       
    46 	TInt	iLastUsedIndex;
       
    47 	TInt	iMaximumRecords;
       
    48 };
       
    49 
       
    50 #endif // _CNTPARSERINFOLOG_H_