Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
16 * Part of : stdio server
29 class CIniData : public CBase
35 * Defines the interface to acess to ini data file
37 * The basic functions, FindVar(), SetValue(), AddValue() and WriteToFileL()
38 * Compulsory to call WriteToFileL() after calling any SetValue() or AddValue()
42 // Constructor, pass in name of ini file to open
43 // Default search path is 'c:\system\data' on target filesystem
44 // ie. 'NewL(_L("c:\\system\\data\\ttools.ini"))' is equivalent
45 // to 'NewL(_L("ttools.ini"))'
46 static CIniData* NewL(const TDesC& aName);
50 TBool FindVar(const TDesC &aSection, // Section to look under
51 const TDesC &aKeyName, // Key to look for
52 TPtrC &aResult); // Buffer to store result
54 TBool FindVar(const TDesC &aSection, // Section to look under
55 const TDesC &aKeyName, // Key to look for
56 TInt &aResult); // Int ref to store result
61 void ConstructL(const TDesC& aName);
68 #endif /*__INIDATA_H__*/