clock2/clockui/uilayer/data/clock.rss
changeset 0 f979ecb2b13e
child 21 9711e452b5e9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/clock2/clockui/uilayer/data/clock.rss	Tue Feb 02 10:12:19 2010 +0200
@@ -0,0 +1,593 @@
+/*
+* Copyright (c) 2008 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:   The application resource file.
+*
+*/
+
+// Resource identifier
+NAME ZYXW
+
+// System includes
+#include <clockapp.loc>
+#include <eikon.rh>
+#include <avkon.rh>
+#include <eikon.rsg>
+#include <avkon.rsg>
+#include <avkon.hrh>
+#include <avkon.loc>
+#include <appinfo.rh>
+#include <eikon.hrh>
+
+// User includes
+#include "clock.hrh"
+
+RESOURCE RSS_SIGNATURE { }
+
+RESOURCE TBUF { buf=""; }
+
+// Resource definitions
+// ---------------------------------------------------------
+// The EIK app info.
+// ---------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+	{
+	}
+	
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_main_view
+// The clock main view.
+// ---------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_clock_main_view
+    {
+    menubar = r_clock_main_view_menubar;
+    //single click integration
+    cba = r_clock_main_view_cba_msk_text;
+    }
+
+
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_main_view_cba
+// The main view CBA, with MSK text.
+// ---------------------------------------------------------
+//
+RESOURCE CBA r_clock_main_view_cba_msk_text
+    {
+    buttons =
+        {
+        CBA_BUTTON { id = EAknSoftkeyOptions;   txt = text_softkey_option; },
+        CBA_BUTTON { id = EAknSoftkeyExit;      txt = text_softkey_exit; },
+	//single click integration
+        CBA_BUTTON { id = EClockSelect;         txt = qtn_msk_select; }
+
+        };
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_main_view_menubar
+// The menubar.
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_clock_main_view_menubar
+	{
+    titles =
+    	{
+        MENU_TITLE { menu_pane = r_clock_main_view_menupane; }
+        };
+    }
+
+
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_main_view_menupane
+// The menupane
+// ---------------------------------------------------------
+//
+//Single click integration
+RESOURCE MENU_PANE r_clock_main_view_menupane
+    {
+    items =
+        {
+        MENU_ITEM 
+            { 
+            command = EClockNewAlarm;
+            txt = qtn_clk_multi_new_alarm; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockResetAlarm;
+            txt = qtn_alarm_change_alarm;
+            flags = EEikMenuItemAction; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockDeactivateAlarm;	
+            txt = qtn_clk_deact_alarm;
+            flags = EEikMenuItemSpecific;
+            },
+        MENU_ITEM 
+            { 
+            command = EClockActivateAlarm;
+            txt = qtn_clk_activate_alarm;
+            flags = EEikMenuItemSpecific; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockRemoveAlarm;
+            txt = qtn_alarm_delete_alarm; 
+            flags = EEikMenuItemSpecific; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockSettings;
+            txt = qtn_clk_settings; 
+            },
+        MENU_ITEM 
+            { 
+            command = EAknCmdHelp; 
+            txt = qtn_clk_help_home; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockMainViewExit;
+            txt = qtn_options_exit; 
+            }
+        };
+    }
+
+
+
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_alarms_view_inactive_alarm
+// Resource for string "INACTIVE"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_alarms_view_inactive_alarm
+    {
+    buf = qtn_clk_alarms_view_inactive_alarm;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clk_command_new_alarm
+// Resource for string "New alarm"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clk_command_new_alarm
+    {
+    buf = qtn_clk_command_new_alarm;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_alarm_note_deleted
+// Resource for string "Alarm deleted from Alarm view"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_alarm_note_deleted
+    {
+    buf = qtn_clk_alarm_note_deleted;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_note_alarm_dst_rollover
+// Resource for string "Alarm will occur at %U after automatic daylight saving update."
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_note_alarm_dst_rollover 
+    {
+    buf = qtn_clk_note_alarm_dst_rollover;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_alarm_note_day_clk
+// Resource for string "Alarm occurs every day at %U o’clock"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_alarm_note_day_clk
+    {
+    buf = qtn_clk_alarm_note_day_clk;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_alarm_note_wday_clk
+// Resource for string "Alarm occurs workdays at %U o’clock"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_alarm_note_wday_clk
+    {
+    buf = qtn_clk_alarm_note_wday_clk;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_alarm_note_week_clk
+// Resource for string "Alarm occurs every week on %0U at %1U o’clock"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_alarm_note_week_clk
+    {
+    buf = qtn_clk_alarm_note_week_clk;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clock_alarm_note_once_next
+// Resource for string "Alarm occurs once only on next %0U at %1U o’clock"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clock_alarm_note_once_next 
+    {
+    buf = qtn_clk_alarm_note_once_next;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_alarm_conf_singular
+// Resource for string "Time to alarm: %0N hour and %1N minute."
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_alarm_conf_singular
+    {
+    buf = qtn_alarm_conf_singular;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_alarm_conf_plural
+// Resource for string "Time to alarm: %0N hours and %1N minutes."
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_alarm_conf_plural
+    {
+    buf = qtn_alarm_conf_plural;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_alarm_conf_hour_sev_min
+// Resource for string "Time to alarm: %0N hour and %1N minutes."
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_alarm_conf_hour_sev_min
+    {
+    buf = qtn_alarm_conf_hour_sev_min;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_alarm_conf_sev_hours_min
+// Resource for string "Time to alarm: %0N hours and %1N minute."
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_alarm_conf_sev_hours_min
+    {
+    buf = qtn_alarm_conf_sev_hours_min;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_qtn_clk_alarms_view_snoozed_alarm
+// Resource for string "Snoozed %U"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_qtn_clk_alarms_view_snoozed_alarm
+    {
+    buf = qtn_clk_alarms_view_snoozed_alarm;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_title_settings
+// Resource for string "Date & Time settings"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_title_settings
+    {
+    buf = qtn_clk_title_settings;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_title_main_view
+// Resource for string "Clock"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_title_main_view
+    {
+    buf = qtn_clk_title_home_clock;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_world_note_city_max
+// Resource for string "Snoozed %U"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_world_note_city_max
+    {
+    buf = qtn_clk_note_location_max;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_note_time_changed_country
+// Resource for string "Device time changed according to UTC offset of %U"
+// ---------------------------------------------------------
+//    
+RESOURCE TBUF r_clock_note_time_changed_country
+	{
+	buf = qtn_clk_note_time_changed_country;
+	}    
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_query_remove_location
+// Resource for string "Remove location from the list: %U?"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_clock_query_remove_location
+    {
+    buf = qtn_clk_query_remove_region;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_wrld_clk_empty_view
+// Resource for string "No Locations"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_wrld_clk_empty_view
+    {
+    buf = qtn_wrld_clk_empty_view;
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_title_wrld_clk
+// Resource for string "World Clock"
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_title_wrld_clk
+    {
+    buf = qtn_clk_title_wrld_clk;
+    }
+
+// This resource will not be used as a part of pop-up removal. 
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_alarm_delete_query
+// Alarm deletion confirmation query dialog.
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_clock_alarm_delete_query
+    {
+    flags = EGeneralQueryFlags;
+    buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
+    items=
+        {
+        DLG_LINE
+            {
+            type = EAknCtQuery;
+            itemflags = EEikDlgItemNonFocusing;
+            id = EGeneralQuery;
+            control = AVKON_CONFIRMATION_QUERY
+                {
+                layout = EConfirmationLayout;
+                label = qtn_alarm_quest_delete;
+                animation = R_QGN_NOTE_QUERY_ANIM;
+                };
+            }
+        };
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_world_view
+// The clock world view.
+// ---------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_clock_world_view
+    {
+    menubar = r_clock_world_view_menubar;
+    //single click integration
+    cba = r_clock_world_view_cba_softkey;
+
+    }
+
+
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_world_view_cba_softkey
+// The world view CBA, with msk Add.
+// ---------------------------------------------------------
+//
+RESOURCE CBA r_clock_world_view_cba_softkey
+	{
+	flags = 0;
+	buttons =
+        {
+        CBA_BUTTON { id = EAknSoftkeyOptions;		txt = text_softkey_option; },
+		CBA_BUTTON { id = EAknSoftkeyExit;			txt = text_softkey_exit; },
+	//single click integration
+        CBA_BUTTON { id = EClockWorldMyRegion;      txt = qtn_clk_opt_region_my_region; }
+
+
+
+		};
+	}
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_world_view_menubar
+// The world view menubar.
+// ---------------------------------------------------------
+//	
+RESOURCE MENU_BAR r_clock_world_view_menubar
+    {
+    titles =
+        {
+        MENU_TITLE { menu_pane = r_clock_world_view_menupane; }
+        };
+    }
+
+
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_world_view_menupane
+// The menupane
+// ---------------------------------------------------------
+//
+//single click integration
+RESOURCE MENU_PANE r_clock_world_view_menupane
+    {
+    items =
+        {
+        MENU_ITEM 
+            { 
+            command = EClockWorldAddRegion; 	
+            txt = qtn_clk_opt_region_add; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockWorldMyRegion;
+            txt = qtn_clk_opt_region_my_region; 
+            flags = EEikMenuItemAction; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockWorldRemoveRegion;	
+            txt = qtn_clk_opt_city_rmv;
+            flags = EEikMenuItemSpecific; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockWorldAddImage;
+            txt = qtn_clk_opt_wrld_clk_change_img;
+            flags = EEikMenuItemSpecific;
+            },
+        MENU_ITEM 
+            { 
+            command = EClockWorldSettings;		
+            txt = qtn_clk_settings; 
+            },
+        MENU_ITEM 
+            { 
+            command = EAknCmdHelp;			    
+            txt = qtn_clk_help_home; 
+            },
+        MENU_ITEM 
+            { 
+            command = EClockWorldExit;			
+            txt = qtn_options_exit; 
+            }
+        };
+    }
+
+    
+
+// This resource will not be used as a part of pop-up removal. 
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_dialog_query_remove_city
+// The query dialog for city removal confirmation.
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_clock_dialog_query_remove_city
+    {
+    flags = EGeneralQueryFlags;
+    buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
+    items =
+        {
+        DLG_LINE
+            {
+            type = EAknCtQuery;
+            id = EGeneralQuery;
+            control = AVKON_CONFIRMATION_QUERY
+                {
+                layout = EConfirmationQueryLayout;
+                };
+            }
+        };
+    }
+    
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_dialog_query_nw_time_off
+// The query dialog for disabling network time update.
+// ---------------------------------------------------------
+//    
+RESOURCE DIALOG r_clock_dialog_query_nw_time_off
+    {
+    flags = EGeneralQueryFlags;
+    buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
+    items =
+        {
+        DLG_LINE
+            {
+            type = EAknCtQuery;
+            id = EGeneralQuery;
+            control = AVKON_CONFIRMATION_QUERY
+                {
+                label = qtn_clk_home_region_disable_nitz;
+                layout = EConfirmationQueryLayout;
+                };
+            }
+        };
+    }
+
+// Resource definitions
+// ---------------------------------------------------------
+// r_clock_dialog_query_region_af_time
+// The query dialog confirming if the user wants to change the home zone.
+// ---------------------------------------------------------
+//    
+RESOURCE DIALOG r_clock_dialog_query_region_af_time
+	{
+	flags = EGeneralQueryFlags;
+	buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
+	items =
+		{
+		DLG_LINE
+			{
+		    type = EAknCtQuery;
+			id = EGeneralQuery;
+			control = AVKON_CONFIRMATION_QUERY
+				{
+				label = qtn_clk_query_region_af_time;
+				layout = EConfirmationQueryLayout;
+				};
+			}
+		};
+	}
+
+// Other resource files
+#include "clkdatetimeview.ra"
+#include "clockalarmeditor.ra"
+#include "clockcityselectionlist.ra"
+
+// End of file