javaextensions/pim/javapimloc/data/pimtodo.rss
branchRCL_3
changeset 19 04becd199f91
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javaextensions/pim/javapimloc/data/pimtodo.rss	Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,127 @@
+/*
+* 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 / ToDo lists
+*
+*/
+
+
+//  RESOURCE IDENTIFIER
+NAME    PIMT
+
+//  INTERNAL INCLUDES
+#include "pimtodo.h"
+#include "PIMPlugin.rh"
+
+//  EXTERNAL INCLUDES
+#include <uikon.rh>
+#include <pimtodo.loc>
+
+RESOURCE RSS_SIGNATURE { }
+
+//  RESOURCE DEFINITIONS 
+// ---------------------------------------------------------------------------
+// R_PIM_TODO_LISTS
+// This resource structure holds information about todo lists and labels
+// associated to each list. 
+//
+// @see PIM_LIST
+// @see PIM_LABEL_ARRAY
+// ---------------------------------------------------------------------------
+//
+RESOURCE PIM_LIST_ARRAY r_pim_todo_lists
+    {
+    lists =
+        {
+        // Default ToDo list
+        PIM_LIST
+            {
+            list_name      = r_pim_todo_listname;
+            field_array_id = r_pim_todo_fields;               
+            }
+        };
+    }
+
+// ---------------------------------------------------------------------------
+// R_PIM_TODO_FIELDS
+// Array of labels associated to todo 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_todo_fields
+    {
+    labels =
+        {
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoSummary;
+            label = qtn_jpim_todo_summary;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoNote;
+            label = qtn_jpim_todo_note;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoDue;
+            label = qtn_jpim_todo_due;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoExtAlarm;
+            label = qtn_jpim_todo_extalarm;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoPriority;
+            label = qtn_jpim_todo_priority;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoCompleted;
+            label = qtn_jpim_todo_completed;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoCompletionDate;
+            label = qtn_jpim_todo_completiondate;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoClass;
+            label = qtn_jpim_todo_class;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoUid;
+            label = qtn_jpim_todo_uid;
+            },
+        PIM_LABEL_PAIR
+            {
+            id    = EPIMToDoRevision;
+            label = qtn_jpim_todo_revision; 
+            }
+        };
+    }
+    
+// ---------------------------------------------------------------------------
+// String resources
+// ---------------------------------------------------------------------------
+//    
+RESOURCE LBUF r_pim_todo_listname { txt = qtn_jpim_todo_listname; }
+    
+// End of File