|
1 /* |
|
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Name : starter.hrh |
|
16 * Part of : System Startup / Starter |
|
17 * Interface : Domain, Extended Startup API |
|
18 * Resource headers for projects StarterServer and StarterClient. |
|
19 * Version : %version: 6 % |
|
20 * This material, including documentation and any related computer |
|
21 * programs, is protected by copyright controlled by Nokia. All |
|
22 * rights are reserved. Copying, including reproducing, storing, |
|
23 * adapting or translating, any or all of this material requires the |
|
24 * prior written consent of Nokia. This material also contains |
|
25 * confidential information which may not be disclosed to others |
|
26 * without the prior written consent of Nokia. |
|
27 * Template version: 4.0 |
|
28 * Nokia Core OS * |
|
29 * |
|
30 */ |
|
31 |
|
32 |
|
33 |
|
34 #ifndef STARTER_HRH |
|
35 #define STARTER_HRH |
|
36 |
|
37 /* |
|
38 * @file |
|
39 * @publishedPartner |
|
40 * @released |
|
41 */ |
|
42 |
|
43 // Item types for entries in the startup list. |
|
44 // These are for Starter only. |
|
45 // |
|
46 enum TItemType |
|
47 { |
|
48 // Normal types: |
|
49 // Continue startup after starting the item. |
|
50 EExecutableType = 100, |
|
51 // Started initially into background. |
|
52 EBackgroundApplicationType = 102 |
|
53 }; |
|
54 |
|
55 |
|
56 // Values for supported monitoring (watching) of started items outside critical |
|
57 // block. These are applied to set up watchers to try recovering from item's |
|
58 // death in normal running. So if item dies then: |
|
59 // |
|
60 enum TMonitoringMode |
|
61 { |
|
62 EMonNone = 100, // Do nothing (no monitoring), |
|
63 EMonRestart, // Retry up to the defined max. times, |
|
64 // after that apply EMonPanic. |
|
65 EMonRestartReset, // Retry up to the defined max. times, |
|
66 // after that apply EMonReset. |
|
67 EMonReset // Reset SW. |
|
68 }; |
|
69 |
|
70 |
|
71 #endif |
|
72 |
|
73 // End of File |