Update contrib.
2 * Copyright (c) 1995-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.
19 #include "T_InvalidFontFile.h"
25 Simple application to remove the invalid font file created by T_WriteInvalidFontFile.exe.
26 These applications are seperate from the test code and each other so they can have the
27 capability Tcb in order to write to the \resource\* directory.
32 CleanupClosePushL(fs);
33 User::LeaveIfError(fs.Connect());
35 User::LeaveIfError(fs.Delete(KEclipsingFile));
37 CleanupStack::PopAndDestroy(&fs);
40 GLDEF_C TInt E32Main()
43 CTrapCleanup* cleanup = CTrapCleanup::New();
44 TRAPD(mainError, MainL());
45 if (mainError != KErrNone)
47 RDebug::Printf("T_RemoveInvalidFontFile.exe failed with error %i", mainError);