systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_donothing.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    24 
    24 
    25 #include "sysmontesthelper.h"
    25 #include "sysmontesthelper.h"
    26 
    26 
    27 void MainL()
    27 void MainL()
    28     {
    28     {
    29     RProcess::Rendezvous(KErrNone);
       
    30 
       
    31     CCommandLineArguments* args = CCommandLineArguments::NewLC();
    29     CCommandLineArguments* args = CCommandLineArguments::NewLC();
    32     CSysMonTestHelper::IncrementRunCountL(args->Arg(0));
    30     CSysMonTestHelper::IncrementRunCountL(args->Arg(0));
    33     CleanupStack::PopAndDestroy(args);
    31     CleanupStack::PopAndDestroy(args);
    34 	
    32 	
       
    33     RProcess::Rendezvous(KErrNone);
    35 	while (ETrue)
    34 	while (ETrue)
    36 		{
    35 		{
    37 		User::After(5000000); // 5 seconds
    36 		User::After(5000000); // 5 seconds
    38 		}
    37 		}
    39 
    38