phonebookui/Phonebook/App/rss/Phonebook.rss
changeset 0 e686773b3f54
child 21 9da50d567e3c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook/App/rss/Phonebook.rss	Tue Feb 02 10:12:17 2010 +0200
@@ -0,0 +1,305 @@
+/*
+* Copyright (c) 2002 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: 
+*     This file contains resources for Phonebook.app.
+*
+*/
+
+
+//  RESOURCE IDENTIFIER
+NAME    CPBK  // From the product PhoneBooK
+
+// INCLUDES
+#include <pbkconfig.hrh>
+
+#include <eikon.rh>
+#include <eikon.rsg>
+#include <Avkon.rsg>
+#include <Avkon.rh>
+#include <avkon.mbg>		//Icon in save query
+#include <avkon.loc>
+#include <appinfo.rh>
+
+#include <Phonebook.hrh>	// Phonebook command IDs
+#include <Phonebook.loc>	// phonebook localization file
+
+#include <PbkIcons.hrh>		// Phonebook icon mapping
+#include <AvkonIcons.hrh>
+#include <DigViewGraph.rh>
+#include <PbkView.rsg>
+
+#if defined(__SCALABLE_ICONS)
+  #define num_aif_icons 1
+  #define aif_icon_file "z:\\resource\\apps\\phonebook_aif.mif"
+#else
+  #define num_aif_icons 2
+  #define aif_icon_file "z:\\resource\\apps\\phonebook_aif.mbm"
+#endif
+
+// RESOURCE DEFINITIONS 
+
+/**
+ * RSS_SIGNATURE
+ * Standard resource signature.
+ */
+RESOURCE RSS_SIGNATURE { }
+
+/**    
+ * TBUF
+ * Application caption and default filename
+ */
+RESOURCE TBUF       { buf = qtn_phob_title; }
+
+/**
+ * EIK_APP_INFO
+ * Phonebook application info
+ */
+RESOURCE EIK_APP_INFO
+    {
+	status_pane = r_phonebook_status_pane;
+    }
+
+RESOURCE LOCALISABLE_APP_INFO r_phonebook_localisable_app_info
+    {
+    short_caption = qtn_apps_phonebook_grid;
+    caption_and_icon = 
+    CAPTION_AND_ICON_INFO
+        {
+        caption = qtn_apps_phonebook_list;
+		number_of_icons = num_aif_icons;
+		icon_file = aif_icon_file;
+        };
+    }
+
+
+/**
+ * r_phonebook_system_menu
+ * Phonebook system menu pane. Insert system-wide commands here, e.g. 
+ *  "General Options".
+ */
+RESOURCE MENU_PANE r_phonebook_system_menu
+	{
+	items=
+		{
+        MENU_ITEM { command = EAknCmdHelp;      txt = qtn_options_help; },
+        MENU_ITEM { command = EPbkCmdExit;      txt = qtn_options_exit; }
+		};
+	}
+
+/**
+ * Open me menu.
+ */
+RESOURCE MENU_PANE r_phonebook_open_me_menu
+	{
+	items=
+		{
+		MENU_ITEM { command = EPbkCmdOpenMeViews;   txt = qtn_phob_opt_entry_open_views; }
+	    };
+    }
+
+
+/**
+ * Phonebook general Confirmation query, prompt loaded from resources
+ * @type    general confirmation query
+ */
+RESOURCE DIALOG r_pbk_general_confirmation_query
+	{
+	flags= EGeneralQueryFlags;
+	buttons = R_AVKON_SOFTKEYS_YES_NO;
+    	items=
+		{
+		DLG_LINE
+			{
+			type=EAknCtQuery;
+			id=EGeneralQuery;
+			control=AVKON_CONFIRMATION_QUERY 
+				{ 
+				layout = EConfirmationQueryLayout;
+				};
+			}
+		};
+	}
+
+/**
+ * Converting to business card for sending wait note.
+ */
+RESOURCE DIALOG r_qtn_sm_wait_business_card
+	{
+	flags = EAknProgressNoteFlags;
+    buttons = R_AVKON_SOFTKEYS_CANCEL;
+    items =
+		{
+		DLG_LINE
+			{
+			type = EAknCtNote;
+			id = EPbkNoteConvertingToBusinessCard;
+			control = AVKON_NOTE 
+				{ 
+				layout = EWaitLayout;
+				singular_label = qtn_sm_wait_business_card;
+				};
+			}
+		};
+	}
+
+// Database corrupted note
+RESOURCE AKN_NOTE_WRAPPER r_pbk_note_database_corrupted
+    {
+    resId   = R_AKN_INFORMATION_NOTE_DIALOG_WAIT;
+    timeout = EAknInformationNoteTimeout;
+	tone    = EAknNoteDialogConfirmationTone;
+    text    = qtn_memlo_database_corrupted;
+	}
+
+// Phonebook title pane text resource (used in nameslistappview and groupslistappview)
+RESOURCE TBUF r_qtn_phob_title      { buf = qtn_phob_title; }
+
+/**
+ * TITLE_PANE
+ * Phonebook default title pane text
+ */
+RESOURCE TITLE_PANE r_phonebook_title_pane
+    {
+    txt = qtn_phob_title;
+    }
+
+/**
+ * STATUS_PANE_APP_MODEL
+ * Phonebook default status pane
+ */
+RESOURCE STATUS_PANE_APP_MODEL r_phonebook_status_pane
+    {
+    layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL;
+    panes =
+        {
+        SPANE_PANE
+            {
+            id = EEikStatusPaneUidTitle;
+            type = EAknCtTitlePane;
+            resource = r_phonebook_title_pane;
+            }
+        };
+    }
+
+/**
+ * 'Select fields to send' listbox for contact list views.
+ */
+RESOURCE LISTBOX r_phonebook_send_options
+	{
+	array_id = r_phonebook_send_options_texts;
+    flags = EAknListBoxMenuList;
+	}
+
+
+/**
+ * 'Select fields to send' listbox texts for contact list views.
+ */
+RESOURCE ARRAY r_phonebook_send_options_texts
+    {
+    items = 
+        {
+        LBUF { txt=qtn_bcard_send_sms_no_image; },
+        LBUF { txt=qtn_bcard_send_sms_image; }
+        };
+    }
+
+/**
+ * 'Select fields to send' listbox for contact info view.
+ */
+RESOURCE LISTBOX r_pbk_contactinfo_send_options
+	{
+	array_id = r_pbk_contactinfo_send_options_texts; 
+    flags = EAknListBoxMenuList;
+	}
+
+
+/**
+ * 'Select fields to send' listbox for contact info view.
+ */
+RESOURCE LISTBOX r_pbk_contactinfo_send_options_sms_thumbnail
+	{
+	array_id = r_pbk_contactinfo_send_options_texts_sms_thumbnail; 
+    flags = EAknListBoxMenuList;
+	}
+
+
+/**
+ * 'Select fields to send' listbox for contact info view.
+ */
+RESOURCE LISTBOX r_pbk_contactinfo_send_options_sms_thumbnail_no_field
+	{
+	array_id = r_pbk_contactinfo_send_options_texts_sms_thumbnail_no_field;
+    flags = EAknListBoxMenuList;
+	}
+
+
+/**
+ * 'Select fields to send' listbox texts for contact info view.
+ */
+RESOURCE ARRAY r_pbk_contactinfo_send_options_texts
+    {
+    items = 
+        {
+        LBUF { txt=qtn_bcard_choice_send_item_data; },
+        LBUF { txt=qtn_bcard_choice_send_all_data; }
+        };
+    }
+
+/**
+ * 'Select fields to send' listbox texts for contact info view.
+ */
+RESOURCE ARRAY r_pbk_contactinfo_send_options_texts_sms_thumbnail
+    {
+    items = 
+        {
+        LBUF { txt=qtn_bcard_choice_send_item_data; },
+		LBUF { txt=qtn_bcard_send_detail_without_p; },	
+		LBUF { txt=qtn_bcard_send_detail_with_pict; }
+        };
+    }
+
+
+/**
+ * 'Select fields to send' listbox texts for contact info view.
+ */
+RESOURCE ARRAY r_pbk_contactinfo_send_options_texts_sms_thumbnail_no_field
+    {
+    items = 
+        {
+		LBUF { txt=qtn_bcard_send_detail_without_p; },
+		LBUF { txt=qtn_bcard_send_detail_with_pict; }
+        };
+    }
+
+////////////////////////////////////////////////////////////
+// Localized strings.
+//
+RESOURCE TBUF r_pbk_businesscard_send_heading			{ buf = qtn_bcard_qtl_send_data; }
+RESOURCE TBUF r_pbk_businesscard_send_heading_several	{ buf = qtn_bcard_qtl_send_data_several; }
+RESOURCE TBUF r_qtn_phob_name_ordering_settings_visibility  { buf = qtn_phob_name_ordering_settings_visibility; }
+
+////////////////////////////////////////////////////////////
+// Postcard contact id attachment file name
+//
+RESOURCE TBUF r_pbk_postcard_write_attachment_tag	{ buf = "X-Nokia-PhonebookId_temp"; }
+
+// Application view resources
+#include "NamesListView.rss"
+#include "GroupsListView.rss"
+#include "GroupMembersListView.rss"
+#include "ContactInfoView.rss"
+#include "ViewGraph.rss"
+#include "PbkAiwInterest.rss"
+
+// End of File