c218c89f6c2e8832777b8547ceabb416005c0b1b
[profile/ivi/ico-uxf-homescreen.git] / include / ico_uxf_sysdef.h
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9 /**
10  * @brief   user experiance library public header file(system limit vaule)
11  *
12  * @date    Feb-28-2013
13  */
14
15 #ifndef _ICO_UXF_SYSDEF_H_
16 #define _ICO_UXF_SYSDEF_H_
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 /* Default values                           */
23 #define ICO_UXF_PROC_DEFAULT_HOMESCREEN "org.tizen.ico.homescreen"
24                                             /* Default application ID of HomeScreen */
25 #define ICO_UXF_ENV_APPINF  "ICO_UXF_ENV_APPINF"
26                                             /* The name of the environment variable that*/
27                                             /* an application manager hands to application*/
28 /* Maximum values on system wide            */
29 #define ICO_UXF_HOST_MAX            16      /* Maximum number of ECUs               */
30 #define ICO_UXF_DISPLAY_LAYER_MAX   16      /* Maximum number of Layers             */
31 #define ICO_UXF_CATEGORY_MAX        20      /* Maximum number of application categorys*/
32 #define ICO_UXF_DISPLAY_ZONE_MAX    30      /* Maximum zone on display in car       */
33 #define ICO_UXF_SOUND_ZONE_MAX      10      /* Maximum zone on sound in car         */
34 #define ICO_UXF_INPUT_SW_MAX        50      /* Maximum input sw in car              */
35 #define ICO_UXF_REGULATION_VIC_MAX  20      /* Maxumum vehicle info for regulation  */
36
37 /* Maximum length of string (with out last NULL)    */
38 #define ICO_UXF_MAX_PROCESS_NAME    63      /* Maximum length of application name   */
39 #define ICO_UXF_MAX_WIN_NAME        23      /* Maximum length of window name        */
40 #define ICO_UXF_MAX_DISP_NAME       23      /* Maximum length of display name       */
41 #define ICO_UXF_MAX_SOUND_NAME      23      /* Maximum length of sound device name  */
42 #define ICO_UXF_MAX_DEVICE_NAME     63      /* Maximum length of resource device name*/
43 #define ICO_UXF_MAX_STREAM_NAME     63      /* Maximum length of sound stream name  */
44
45 /* Maximum values on each application       */
46 #define ICO_UXF_APPDISPLAY_MAX      5       /* Maximum display zones for a application*/
47 #define ICO_UXF_APPSOUND_MAX        5       /* Maximum sound zones for a application*/
48 #define ICO_UXF_APPINPUT_MAX        20      /* Maximum input switch for a application*/
49
50 /* Number to manage the processing internall block  */
51 #define ICO_UXF_MNG_BLOCK_ALLOCS    20      /* Number to assign dynamic management block*/
52
53 /* Priority of resource                             */
54 #define ICO_UXF_PRIO_INTSCREEN   0x00000080 /* interrupt screen on basic screen     */
55 #define ICO_UXF_PRIO_CATEGORY    0x00000100 /* application category                 */
56 #define ICO_UXF_PRIO_ACTIVEAPP   0x0fff0000 /* active application count             */
57 #define ICO_UXF_PRIO_ACTIVECOUNT 0x00010000 /* active application                   */
58 #define ICO_UXF_PRIO_ONSCREEN    0x10000000 /* interrupt screen/sound               */
59 #define ICO_UXF_PRIO_REGULATION  0x40000000 /* no regulation controlled             */
60
61 /* maximum value        */
62 #define ICO_UXF_MAX_COORDINATE      16384   /* maximum coordinate position + 1      */
63
64 /* timer                */
65 #define ICO_UXF_SUSP_INITTIME   (10*1000)   /* initiale no suspend time (ms)        */
66 #define ICO_UXF_SUSP_DELAY      (300)       /* suspend delay time (ms)              */
67
68 #ifdef __cplusplus
69 }
70 #endif
71 #endif  /* _ICO_UXF_SYSDEF_H_ */
72