os/kernelhwsrv/kerneltest/e32test/misc/systemize.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32test\misc\systemize.cpp
    15 // 
    16 //
    17 
    18 #include <e32test.h>
    19 
    20 LOCAL_D RTest test(_L("Systemize"));
    21 
    22 GLDEF_C TInt E32Main()
    23 	{
    24 	test.Title();
    25 	TBuf<256> cmd;
    26 	TFullName fn;
    27 	User::CommandLine(cmd);
    28 	TFindThread ft(cmd);
    29 	while (ft.Next(fn)==KErrNone)
    30 		{
    31 		test.Printf(_L("Systemizing %S\n"),&fn);
    32 		RThread t;
    33 		TInt r=t.Open(ft);
    34 		if (r==KErrNone)
    35 			{
    36 			//	FIXME: Need device driver to do this
    37 //			t.SetSystem(ETrue);
    38 			t.Close();
    39 			}
    40 		}
    41 	return 0;
    42 	}