libraries/iosrv/server/config.cpp
changeset 100 706c7a69e448
parent 0 7f656887cf89
--- a/libraries/iosrv/server/config.cpp	Thu Nov 04 20:51:05 2010 +0000
+++ b/libraries/iosrv/server/config.cpp	Thu Nov 04 23:22:39 2010 +0000
@@ -25,11 +25,10 @@
 // Configuration attributes.
 _LIT(KAttConsole, "console");
 _LIT(KAttConsoleSizeAdjustment, "console_size_adjustment");
-_LIT(KAttConsoleSizeDetect, "console_size_detect");
 
 
 TIoConfig::TIoConfig()
-	: iConsoleImplementation(KDefaultConsole), iConsoleSizeAdjustment(KDefaultSizeAdjustment), iConsoleSizeDetect(ETrue)
+	: iConsoleImplementation(KDefaultConsole), iConsoleSizeAdjustment(KDefaultSizeAdjustment)
 	{
 	}
 
@@ -46,7 +45,6 @@
 	{
 	TInt ret = KErrNone;
 	iConsoleImplementation.Copy(iniFile->GetString(KAttConsole).Left(iConsoleImplementation.MaxLength()));
-	iConsoleSizeDetect = iniFile->GetBool(KAttConsoleSizeDetect);
 	const TDesC& sizeAdjust(iniFile->GetString(KAttConsoleSizeAdjustment));
 	if (sizeAdjust.Length())
 		{
@@ -56,7 +54,6 @@
 		lex.Get(); // Skip delimiter.
 		ret = lex.Val(iConsoleSizeAdjustment.iHeight);
 		if (ret) return ret;
-		iConsoleSizeDetect = EFalse;
 		}
 	return ret;
 	}
@@ -70,8 +67,3 @@
 	{
 	return iConsoleSizeAdjustment;
 	}
-
-TBool TIoConfig::ConsoleSizeDetect() const
-	{
-	return iConsoleSizeDetect;
-	}