javaextensions/pim/javapimloc/data/pimevent.rss
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2004-2007 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 file for Event localization data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    PIME
       
    21 
       
    22 //  INTERNAL INCLUDES
       
    23 #include "PIMPlugin.rh"
       
    24 #include "pimevent.h"
       
    25 
       
    26 //  EXTERNAL INCLUDES
       
    27 #include <uikon.rh>
       
    28 #include <pimevent.loc>
       
    29 
       
    30 RESOURCE RSS_SIGNATURE {}
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // R_PIM_EVENT_LISTS
       
    34 // This resource structure holds information about event lists and labels
       
    35 // associated to each list. 
       
    36 //
       
    37 // @see PIM_LIST
       
    38 // @see PIM_LABEL_ARRAY
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 RESOURCE PIM_LIST_ARRAY r_pim_event_lists
       
    42     {
       
    43     lists =
       
    44         {
       
    45         // Appointments list
       
    46         PIM_LIST
       
    47             {
       
    48             list_subtype         = EPIMEventListAppointment;
       
    49             list_name            = r_pim_appointment_listname;
       
    50             field_array_id       = r_pim_appointment_fields;               
       
    51             },
       
    52         PIM_LIST
       
    53             {
       
    54             list_subtype         = EPIMEventListEvent;
       
    55             list_name            = r_pim_memo_listname;
       
    56             field_array_id       = r_pim_memo_fields;               
       
    57             },
       
    58         PIM_LIST
       
    59             {
       
    60             list_subtype         = EPIMEventListAnniversary;
       
    61             list_name            = r_pim_anniversary_listname;
       
    62             field_array_id       = r_pim_anniversary_fields;               
       
    63             }
       
    64         };
       
    65     }
       
    66 
       
    67 // ---------------------------------------------------------------------------
       
    68 // R_PIM_APPOINTMENT_FIELDS
       
    69 // Array of labels associated to appointment fields. Fields may contain 
       
    70 // sub-elements such as array elements. Those have to be presented in a 
       
    71 // different structure
       
    72 //
       
    73 // @see PIM_LABEL_PAIR
       
    74 // @see PIM_LABEL_PAIR_WITH_SUBELEMENTS
       
    75 // ---------------------------------------------------------------------------
       
    76 //    
       
    77 RESOURCE PIM_LABEL_ARRAY r_pim_appointment_fields
       
    78     {
       
    79     labels =
       
    80         {
       
    81         PIM_LABEL_PAIR
       
    82             {
       
    83             id    = EPIMEventSummary;
       
    84             label = qtn_jpim_event_field_summary;
       
    85             },
       
    86         PIM_LABEL_PAIR
       
    87             {
       
    88             id    = EPIMEventNote;
       
    89             label = qtn_jpim_event_field_note;
       
    90             },
       
    91         PIM_LABEL_PAIR
       
    92             {
       
    93             id    = EPIMEventLocation;
       
    94             label = qtn_jpim_event_field_appt_location;
       
    95             },
       
    96         PIM_LABEL_PAIR
       
    97             {
       
    98             id    = EPIMEventStart;
       
    99             label = qtn_jpim_event_field_appt_start;
       
   100             },
       
   101         PIM_LABEL_PAIR
       
   102             {
       
   103             id    = EPIMEventEnd;
       
   104             label = qtn_jpim_event_field_appt_end;
       
   105             },
       
   106         PIM_LABEL_PAIR
       
   107             {
       
   108             id    = EPIMEventAlarm;
       
   109             label = qtn_jpim_event_field_alarm;
       
   110             },
       
   111         PIM_LABEL_PAIR
       
   112             {
       
   113             id    = EPIMEventClass;
       
   114             label = qtn_jpim_event_field_class;
       
   115             },
       
   116         PIM_LABEL_PAIR
       
   117             {
       
   118             id    = EPIMEventUid;
       
   119             label = qtn_jpim_event_field_uid;
       
   120             },
       
   121         PIM_LABEL_PAIR
       
   122             {
       
   123             id    = EPIMEventRevision;
       
   124             label = qtn_jpim_event_field_revision;
       
   125             }
       
   126         };
       
   127     }
       
   128 
       
   129 // ---------------------------------------------------------------------------
       
   130 // R_PIM_MEMO_FIELDS
       
   131 // Array of labels associated to memo fields. Fields may contain 
       
   132 // sub-elements such as array elements. Those have to be presented in a 
       
   133 // different structure
       
   134 //
       
   135 // @see PIM_LABEL_PAIR
       
   136 // @see PIM_LABEL_PAIR_WITH_SUBELEMENTS
       
   137 // ---------------------------------------------------------------------------
       
   138 //
       
   139 RESOURCE PIM_LABEL_ARRAY r_pim_memo_fields
       
   140     {
       
   141     labels =
       
   142         {
       
   143         PIM_LABEL_PAIR
       
   144             {
       
   145             id    = EPIMEventSummary;
       
   146             label = qtn_jpim_event_field_summary;
       
   147             },
       
   148         PIM_LABEL_PAIR
       
   149             {
       
   150             id    = EPIMEventNote;
       
   151             label = qtn_jpim_event_field_note;
       
   152             },
       
   153         PIM_LABEL_PAIR
       
   154             {
       
   155             id    = EPIMEventStart;
       
   156             label = qtn_jpim_event_field_memo_start;
       
   157             },
       
   158         PIM_LABEL_PAIR
       
   159             {
       
   160             id    = EPIMEventEnd;
       
   161             label = qtn_jpim_event_field_memo_end;
       
   162             },
       
   163         PIM_LABEL_PAIR
       
   164             {
       
   165             id    = EPIMEventAlarm;
       
   166             label = qtn_jpim_event_field_alarm;
       
   167             },
       
   168         PIM_LABEL_PAIR
       
   169             {
       
   170             id    = EPIMEventClass;
       
   171             label = qtn_jpim_event_field_class;
       
   172             },
       
   173         PIM_LABEL_PAIR
       
   174             {
       
   175             id    = EPIMEventUid;
       
   176             label = qtn_jpim_event_field_uid;
       
   177             },
       
   178         PIM_LABEL_PAIR
       
   179             {
       
   180             id    = EPIMEventRevision;
       
   181             label = qtn_jpim_event_field_revision;
       
   182             }
       
   183         };
       
   184     }
       
   185 
       
   186 // ---------------------------------------------------------------------------
       
   187 // R_PIM_ANNIVERSARY_FIELDS
       
   188 // Array of labels associated to anniversary fields. Fields may contain 
       
   189 // sub-elements such as array elements. Those have to be presented in a 
       
   190 // different structure
       
   191 //
       
   192 // @see PIM_LABEL_PAIR
       
   193 // @see PIM_LABEL_PAIR_WITH_SUBELEMENTS
       
   194 // ---------------------------------------------------------------------------
       
   195 //    
       
   196 RESOURCE PIM_LABEL_ARRAY r_pim_anniversary_fields
       
   197     {
       
   198     labels =
       
   199                 {
       
   200         PIM_LABEL_PAIR
       
   201             {
       
   202             id    = EPIMEventSummary;
       
   203             label = qtn_jpim_event_field_anniv_summary;
       
   204             },
       
   205         PIM_LABEL_PAIR
       
   206             {
       
   207             id    = EPIMEventNote;
       
   208             label = qtn_jpim_event_field_note;
       
   209             },
       
   210         PIM_LABEL_PAIR
       
   211             {
       
   212             id    = EPIMEventStart;
       
   213             label = qtn_jpim_event_field_anniv_start;
       
   214             },
       
   215         PIM_LABEL_PAIR
       
   216             {
       
   217             id    = EPIMEventAlarm;
       
   218             label = qtn_jpim_event_field_alarm;
       
   219             },
       
   220         PIM_LABEL_PAIR
       
   221             {
       
   222             id    = EPIMEventClass;
       
   223             label = qtn_jpim_event_field_class;
       
   224             },
       
   225         PIM_LABEL_PAIR
       
   226             {
       
   227             id    = EPIMEventUid;
       
   228             label = qtn_jpim_event_field_uid;
       
   229             },
       
   230         PIM_LABEL_PAIR
       
   231             {
       
   232             id    = EPIMEventRevision;
       
   233             label = qtn_jpim_event_field_revision;
       
   234             }
       
   235         };
       
   236     }
       
   237 
       
   238 // ---------------------------------------------------------------------------
       
   239 // String resources
       
   240 // ---------------------------------------------------------------------------
       
   241 // 
       
   242 RESOURCE LBUF r_pim_appointment_listname { txt = qtn_jpim_event_appts_listname;  }
       
   243 RESOURCE LBUF r_pim_memo_listname        { txt = qtn_jpim_event_events_listname; }
       
   244 RESOURCE LBUF r_pim_anniversary_listname { txt = qtn_jpim_event_annivs_listname; }
       
   245     
       
   246 // End of File