plugins/consoles/vt100cons/src/vt100/vtc_base.cpp
changeset 28 169dfbeff8ee
parent 27 17e35ffe449b
child 30 35cb3fe43f60
--- a/plugins/consoles/vt100cons/src/vt100/vtc_base.cpp	Tue Aug 10 12:33:46 2010 +0100
+++ b/plugins/consoles/vt100cons/src/vt100/vtc_base.cpp	Wed Aug 11 12:05:02 2010 +0100
@@ -69,12 +69,17 @@
 	return err;
 	}
 
-EXPORT_C void CVtcConsoleBase::ConstructL(const TDesC&)
+EXPORT_C void CVtcConsoleBase::ConstructL(const TDesC& aTitle)
+	{
+	ConstructL(aTitle, ETrue);
+	}
+
+EXPORT_C void CVtcConsoleBase::ConstructL(const TDesC&, TBool aConsoleSupportsSizeDetect)
 	{
 	iIniFile = LtkUtils::CIniFile::NewL(KIniFileName, KIniDesciptionFile);
 
 	TSize screenSize(80, 24); // If sizeDetect is not specified, we default to (and only support) 80x24
-	if (iIniFile->GetBool(KAttConsoleSizeDetect))
+	if (aConsoleSupportsSizeDetect && iIniFile->GetBool(KAttConsoleSizeDetect))
 		{
 		DetectScreenSizeL(screenSize);
 		}