|
1 /* |
|
2 * Copyright (c) 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: Resource headers for project esmrservices |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef ESMRSERVICES_RH |
|
20 #define ESMRSERVICES_RH |
|
21 |
|
22 // --------------------------------------------------------------------------- |
|
23 // Resource definition for esmr id table |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 STRUCT ESMR_ID_TABLE |
|
27 { |
|
28 STRUCT id_table[]; // ID table (ESMR_ID) |
|
29 } |
|
30 |
|
31 // --------------------------------------------------------------------------- |
|
32 // Resource definition for esmr id |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 STRUCT ESMR_ID |
|
36 { |
|
37 LONG id; // Identifier |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // Resource definition for esmr id |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 STRUCT ESMR_FIELD |
|
45 { |
|
46 WORD field_id; // Field id |
|
47 WORD field_type; // Field type |
|
48 WORD field_mode; // Field mode |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // Resource definition for esmr policy |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 STRUCT ESMR_POLICY |
|
56 { |
|
57 WORD event_type; // Event/entry type |
|
58 WORD policy_id; // Policy identifier |
|
59 WORD policy_mode; // Policy mode |
|
60 WORD role_flags; // Role flags, only for meeting requests |
|
61 WORD allowed_app; // Application that can open certain entry |
|
62 LLINK field_ids; // ESMR_FIELD table |
|
63 LLINK default_commands; // ESMR_ID table |
|
64 LLINK additional_commands; // ESMR_ID table |
|
65 } |
|
66 |
|
67 // --------------------------------------------------------------------------- |
|
68 // Resource definition for esmr policy table item |
|
69 // --------------------------------------------------------------------------- |
|
70 // |
|
71 STRUCT ESMR_POLICY_TABLE_ITEM |
|
72 { |
|
73 LLINK esmr_policy; |
|
74 } |
|
75 |
|
76 // --------------------------------------------------------------------------- |
|
77 // Resource definition for esmr policy table |
|
78 // --------------------------------------------------------------------------- |
|
79 // |
|
80 STRUCT ESMR_POLICY_TABLE |
|
81 { |
|
82 STRUCT policies[]; // policies (ESMR_POLICY_TABLE_ITEM) |
|
83 } |
|
84 |
|
85 #endif // ESMRSERVICES_RH |