javaextensions/pim/javapimloc/data/pimcm.rss
branchRCL_3
changeset 14 04becd199f91
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javaextensions/pim/javapimloc/data/pimcm.rss	Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,356 @@
+/*
+* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Resource file for PIM API / Contact lists
+*
+*/
+
+
+
+//  RESOURCE IDENTIFIER
+NAME    PIMC
+
+//  INTERNAL INCLUDES
+#include "pimcontact.h"
+#include "PIMPlugin.rh"
+
+//  EXTERNAL INCLUDES
+#include <uikon.rh>
+#include <pimcm.loc>
+
+RESOURCE RSS_SIGNATURE { }
+
+//  RESOURCE DEFINITIONS 
+// ---------------------------------------------------------------------------
+// R_PIM_CNT_LISTS
+// This resource structure holds information about event lists and labels
+// associated to each list. 
+//
+// @see PIM_LIST
+// @see PIM_LABEL_ARRAY
+// @see PIM_ARRAY_ELEMENT_LABEL_ARRAY
+// ---------------------------------------------------------------------------
+//
+RESOURCE PIM_LIST_ARRAY r_pim_cnt_lists
+    {
+    lists =
+        {
+        // Default on-device contact list
+        PIM_LIST
+            {
+            list_name          = r_pim_cnt_listname;
+            field_array_id     = r_pim_cnt_fields;
+            attribute_array_id = r_pim_cnt_attributes;         
+            }
+        };
+    }
+
+// ---------------------------------------------------------------------------
+// R_PIM_CNT_FIELDS
+// Array of labels associated to contact fields. Fields may contain sub-elements
+// such as array elements. Those have to be presented in a different structure
+//
+// @see PIM_LABEL_PAIR
+// @see PIM_LABEL_PAIR_WITH_SUBELEMENTS
+// ---------------------------------------------------------------------------
+//    
+RESOURCE PIM_LABEL_ARRAY r_pim_cnt_fields
+    {
+    labels =
+        {
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactPhoto;
+            label = qtn_jpim_cnt_field_photo;
+            },
+        PIM_LABEL_PAIR 
+            {
+            id    = EPIMContactFormattedName;
+            label = qtn_jpim_cnt_field_formattedname;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactNickname;
+            label = qtn_jpim_cnt_field_nickname;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactTel;
+            label = qtn_jpim_cnt_field_tel;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactEmail;
+            label = qtn_jpim_cnt_field_email;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactNote;
+            label = qtn_jpim_cnt_field_note;
+            },
+        PIM_LABEL_PAIR
+            { 
+            id    = EPIMContactClass;
+            label = qtn_jpim_cnt_field_class;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactUid;
+            label = qtn_jpim_cnt_field_uid;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactRevision;
+            label = qtn_jpim_cnt_field_revision;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactOrg;
+            label = qtn_jpim_cnt_field_org;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactBirthday;
+            label = qtn_jpim_cnt_field_birthday;
+            },
+
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactTitle;
+            label = qtn_jpim_cnt_field_title;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactUrl;
+            label = qtn_jpim_cnt_field_url;
+            },
+        PIM_LABEL_PAIR_WITH_SUBELEMENTS
+            {
+            id    = EPIMContactAddr;
+            label = qtn_jpim_cnt_field_addr;
+            sub_elements =
+                {
+                PIM_SUBELEMENT_LABEL_PAIR 
+                    {
+                    id    = EPIMContactAddrPoBox;
+                    label = qtn_jpim_cnt_addr_pobox;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactAddrExtra;
+                    label = qtn_jpim_cnt_addr_extra;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactAddrStreet;
+                    label = qtn_jpim_cnt_addr_street;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactAddrLocality;
+                    label = qtn_jpim_cnt_addr_locality;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactAddrRegion;
+                    label = qtn_jpim_cnt_addr_region;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactAddrPostalCode;
+                    label = qtn_jpim_cnt_addr_postalcode; 
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactAddrCountry;
+                    label = qtn_jpim_cnt_addr_country;
+                    }
+                };
+            },
+        PIM_LABEL_PAIR_WITH_SUBELEMENTS
+            {
+            id    = EPIMContactName;
+            label = qtn_jpim_cnt_field_name;
+            sub_elements =
+                {
+                PIM_SUBELEMENT_LABEL_PAIR 
+                    { 
+                    id    = EPIMContactNameFamily;
+                    label = qtn_jpim_cnt_name_family; 
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR 
+                    {
+                    id    = EPIMContactNameGiven;
+                    label = qtn_jpim_cnt_name_given; 
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR 
+                    {
+                    id    = EPIMContactNameOther;
+                    label = qtn_jpim_cnt_name_other;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactNamePrefix;
+                    label = qtn_jpim_cnt_name_prefix; 
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactNameSuffix;
+                    label = qtn_jpim_cnt_name_suffix;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactExtFamilyNameReading;
+                    label = qtn_jpim_cnt_name_reading_family;
+                    },
+                PIM_SUBELEMENT_LABEL_PAIR
+                    {
+                    id    = EPIMContactExtGivenNameReading;
+                    label = qtn_jpim_cnt_name_reading_given;
+                    }
+                }; 
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtDtmf;
+            label = qtn_jpim_cnt_field_extdtmf;
+            },
+        PIM_LABEL_PAIR
+            { 
+            id    = EPIMContactExtDepartment;
+            label = qtn_jpim_cnt_field_extdepartment;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtAssistantName;
+            label = qtn_jpim_cnt_field_extasstname;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtSpouse;
+            label = qtn_jpim_cnt_field_extspouse;
+            },
+        PIM_LABEL_PAIR
+            { 
+            id    = EPIMContactExtChildren;
+            label = qtn_jpim_cnt_field_extchildren;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtWvUserId;
+            label = qtn_jpim_cnt_field_extwvid;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtSip;
+            label = qtn_jpim_cnt_field_extsip;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtVoip;
+            label = qtn_jpim_cnt_field_extvoip;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtAnniversary;
+            label = qtn_jpim_cnt_field_extanniv;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtPTT;
+            label = qtn_jpim_cnt_field_extptt;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactExtSWIS;
+            label = qtn_jpim_cnt_field_extshareview;
+            }
+        };
+    }
+
+// ---------------------------------------------------------------------------
+// R_PIM_CNT_ATTRIBUTES
+// Array of labels associated to contact attributes
+//
+// @see PIM_LABEL_PAIR
+// ---------------------------------------------------------------------------
+//
+RESOURCE PIM_LABEL_ARRAY r_pim_cnt_attributes
+    {
+    labels =
+        {
+        PIM_LABEL_PAIR 
+            {
+            id    = EPIMContactAttrAsst;
+            label = qtn_jpim_cnt_attr_asst;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrAuto;
+            label = qtn_jpim_cnt_attr_auto;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrFax;
+            label = qtn_jpim_cnt_attr_fax;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrHome;
+            label = qtn_jpim_cnt_attr_home;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrMobile;
+            label = qtn_jpim_cnt_attr_mobile;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrOther;
+            label = qtn_jpim_cnt_attr_other;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrPager;
+            label = qtn_jpim_cnt_attr_pager;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrPreferred;
+            label = qtn_jpim_cnt_attr_preferred;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrSms;
+            label = qtn_jpim_cnt_attr_sms;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrWork;
+            label = qtn_jpim_cnt_attr_work; 
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMContactAttrExtVideoCall;
+            label = qtn_jpim_cnt_attr_video;
+            }
+        };
+    }
+
+// ---------------------------------------------------------------------------
+// String resources
+// ---------------------------------------------------------------------------
+//    
+RESOURCE LBUF r_pim_cnt_listname { txt = qtn_jpim_cnt_listname; }
+
+// End of File