First public contribution.
1 // Copyright (c) 2002-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 "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
15 // Declares the class CIniFile for accessing ini file.
28 class CIniFile : public CBase
38 static CIniFile* NewL(const TDesC& aName);
39 static CIniFile* NewL(const TDesC& aName, const TDesC& aPath);
43 TBool FindVar(const TDesC &aSection, const TDesC &aVarName, TPtrC &aResult);
44 TBool FindVar(const TDesC &aSection, const TDesC &aVarName, TInt &aResult);
48 void ConstructL(const TDesC& aName, const TDesC& aPath);
51 void Panic(TIniPanic aPanic);
54 HBufC* iName; // full name of ini file