graphicsdeviceinterface/screendriver/tsrc/scripts/mnt.cmd
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 12 Mar 2010 15:50:05 +0200
branchRCL_3
changeset 18 5e30ef2e26cb
parent 0 5d03bc08d59c
permissions -rw-r--r--
Revision: 201007 Kit: 201008

rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
rem All rights reserved.
rem This component and the accompanying materials are made available
rem under the terms of "Eclipse Public License v1.0"
rem which accompanies this distribution, and is available
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
rem
rem Initial Contributors:
rem Nokia Corporation - initial contribution.
rem
rem Contributors:
rem
rem Description:
rem 
rem 
rem

@echo off
set _main_ver=00490
set _main_ver_sub=114869
set _ver=151
set _prefix=GT
set _prefixN=%_prefix%_%_main_ver%
set ZipPrefix=%_prefix%
set _ve32toolp=113
set _ve32tools=123
set _ve32utl=035
set _vgditools=052
set _vsdk=014

set _ve32=189
set _vf32=148
set _vstore=062
set _vgdi=071
set _vfntstore=060
set _vfbserv=093
set _vbitgdi=097
if "%1"=="?" goto help
if "%1"=="" goto help
if "%EPOCROOT%"=="" echo error: Variable Epocroot must be defined
if "%EPOCROOT%"=="" goto help

if  not defined EPOC_INI (
	set EPOC_INI=%EPOCROOT%epoc32\data\epoc.ini
)

goto %1
goto help

rem ================ Install ==============

:install
echo Backing up EPOC.INI.
if not exist %EPOC_INI%.scdvbak copy %EPOC_INI% %EPOC_INI%.scdvbak >nul

rem add line to epoc.ini so that the system starter will start the emulator in the specified display mode
echo SYMBIAN_GRAPHICS_USE_GCE ON >> %EPOC_INI%
echo SYMBIAN_BASE_USE_GCE ON >> %EPOC_INI%
echo ColorDepth Color16M >> %EPOC_INI%

echo === New EPOC.INI -- %EPOC_INI% ===
type %EPOC_INI%
echo ======================================================

goto :EOF


rem ================ Installonb ==============
:installonb
echo Backing up EPOC.INI.
if not exist %EPOC_INI%.scdvbak copy %EPOC_INI% %EPOC_INI%.scdvbak >nul

rem For ONB system only add line to epoc.ini so that the system starter will start the emulator in the specified display mode
echo. >> %EPOC_INI%
echo ColorDepth Color16M >> %EPOC_INI%

echo === New EPOC.INI -- %EPOC_INI% ===
type %EPOC_INI%
echo ======================================================

goto :EOF

rem ================ Uninstall ==============

:uninstall
echo Restoring EPOC.INI.
if exist %EPOC_INI%.scdvbak xcopy /r /y %EPOC_INI%.scdvbak %EPOC_INI% >nul
goto :EOF




rem ================ HELP! =================

:help
echo Parameters are:
echo BACKUP    to backup to U:\wserv
echo GETZIP    to get the zip files for the current baseline
echo GETLINE   to extract all the components we depend on
echo GETSRC {comp}  to get the source of another component
rem echo -----------------------------------------------------------------------
echo DELBLD    to delete all work files for the current build
echo CHECK     to check that all the files in the group are in a .PRJ file
echo ARMUDEB   to build unicode debug code for ARM debug
goto end

:endgroup
call cont wserv group
:end
set _main_ver=
set _main_ver_sub=
set _prefix=
set _prefixN=
set _ver=
set _ve32tools=
set _ve32toolp=
set _ve32utl=
set _vgditools=
set _ve32=
set _vf32=
set _vgdi=
set _vfntstore=
set _vfbserv=
set _vbitgdi=
set _vstore=
set _vsdk=
set _par1=
set _par2=