sysstatemgmt/systemstarter/src/StartupAppInfo.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2005-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 "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 //
       
    15  
       
    16 
       
    17 #if !defined (__STARTUPAPPINFO_H__)
       
    18 #define __STARTUPAPPINFO_H__
       
    19 
       
    20 
       
    21 /** Required information for application starter
       
    22 @internalComponent
       
    23 @deprecated
       
    24 */
       
    25 class MStartupAppInfo
       
    26 	{
       
    27 public:
       
    28 	virtual ~MStartupAppInfo() {}
       
    29 
       
    30 public:
       
    31 	/** Path to the application
       
    32 	*/
       
    33 	virtual TPtrC GetPath() const = 0;
       
    34 	
       
    35 	/** Application arguments
       
    36 	*/
       
    37 	virtual TPtrC GetArgs() const = 0;
       
    38 	
       
    39 	/** Whether system starter should wait for application to signal completion
       
    40 	or use 'fire and forget' mode.
       
    41 	*/
       
    42 	virtual TInt StartMethod() const = 0;
       
    43 	
       
    44 	/** Whether to kill a process that's taking too long.
       
    45 	a value of zero means "do not time this process out".
       
    46 	*/
       
    47 	virtual TInt Timeout() const = 0;
       
    48 	
       
    49 	/** Whether startup should fail or continue if application doesn't succeed
       
    50 	*/
       
    51 	virtual TBool FailOnError() const = 0;
       
    52 	
       
    53 	/** How to start application.
       
    54 	*/
       
    55 	virtual TInt StartType() const = 0;
       
    56 	
       
    57 	/** Whether the application should be started viewless.
       
    58 	*/
       
    59 	virtual TBool Viewless() const = 0;
       
    60 	
       
    61 	/** Whether the application should be started in the background.
       
    62 	*/
       
    63 	virtual TBool StartInBackground() const = 0;
       
    64 	
       
    65 	/** No of retries if the server/app/process fails to start
       
    66 	*/
       
    67 	virtual TInt NoOfRetries() const = 0;
       
    68 	};
       
    69 
       
    70 #endif	// __STARTUPAPPINFO_H__