taskswitcher/teleportui/hgteleportapp/data/hgteleport.rss
changeset 4 4d54b72983ae
parent 3 fb3763350a08
child 5 c743ef5928ba
equal deleted inserted replaced
3:fb3763350a08 4:4d54b72983ae
     1 /*
       
     2 * ============================================================================
       
     3 *  Name        : hgteleport.rss
       
     4 *  Part of     : Hg Teleport
       
     5 *  Description : Resource files for teleport app
       
     6 *  Version     : %version: sa1spcx1#27 %
       
     7 *
       
     8 *  Copyright © 2008 Nokia.  All rights reserved.
       
     9 *  This material, including documentation and any related computer
       
    10 *  programs, is protected by copyright controlled by Nokia.  All
       
    11 *  rights are reserved.  Copying, including reproducing, storing,
       
    12 *  adapting or translating, any or all of this material requires the
       
    13 *  prior written consent of Nokia.  This material also contains
       
    14 *  confidential information which may not be disclosed to others
       
    15 *  without the prior written consent of Nokia.
       
    16 * ============================================================================
       
    17 * 
       
    18 */
       
    19 
       
    20 NAME HGTL
       
    21 
       
    22 #include <eikon.rh>
       
    23 #include <eikon.rsg>
       
    24 #include <avkon.rh>
       
    25 #include <avkon.rsg>
       
    26 #include <appinfo.rh>
       
    27 
       
    28 #include <avkon.loc>
       
    29 #include <taskswitcher.loc>
       
    30 
       
    31 #include "hgteleportcommands.hrh"
       
    32 
       
    33 // ---------------------------------------------------------
       
    34 //   
       
    35 //    Define the resource file signature 
       
    36 //    This resource should be empty.
       
    37 //
       
    38 // ---------------------------------------------------------
       
    39 //
       
    40 RESOURCE RSS_SIGNATURE { }
       
    41 
       
    42 // ---------------------------------------------------------
       
    43 //   
       
    44 //    Default Document Name
       
    45 //
       
    46 // ---------------------------------------------------------
       
    47 //
       
    48 RESOURCE TBUF r_default_document_name { buf=""; }
       
    49 
       
    50 // ---------------------------------------------------------
       
    51 //   
       
    52 //    Define default menu and CBA key.
       
    53 //
       
    54 // ---------------------------------------------------------
       
    55 //
       
    56 RESOURCE EIK_APP_INFO
       
    57     {
       
    58     menubar = r_hgteleport_menubar;
       
    59     cba = r_hgteleport_cba_nontouch;
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------
       
    63 //   
       
    64 //    CBA for non-touch.
       
    65 //
       
    66 // ---------------------------------------------------------
       
    67 //
       
    68 RESOURCE CBA r_hgteleport_cba_nontouch
       
    69 	{
       
    70 	flags = 0;
       
    71 	buttons = 
       
    72     	{
       
    73     	CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_select;}, // left softkey
       
    74     	CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, // right softkey
       
    75     	CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_select;} // middle softkey, same as lsk, label is not shown in touch
       
    76     	};
       
    77 	}
       
    78 
       
    79 // ---------------------------------------------------------
       
    80 //   
       
    81 //    CBA for touch.
       
    82 //
       
    83 // ---------------------------------------------------------
       
    84 //
       
    85 RESOURCE CBA r_hgteleport_cba_touch
       
    86 	{
       
    87 	flags = 0;
       
    88 	buttons = 
       
    89     	{
       
    90     	CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_empty;}, // left softkey, no label
       
    91     	CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, // right softkey
       
    92     	CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_select;} // middle softkey, same as lsk, label is not shown in touch
       
    93     	};
       
    94 	}
       
    95 
       
    96 
       
    97 // ---------------------------------------------------------
       
    98 //   
       
    99 //   r_hgteleport_menubar
       
   100 //   Menubar for hgteleport
       
   101 //
       
   102 // ---------------------------------------------------------
       
   103 //
       
   104 RESOURCE MENU_BAR r_hgteleport_menubar
       
   105     {
       
   106     titles =
       
   107         {
       
   108         MENU_TITLE {menu_pane = r_hgteleport_menu;}
       
   109         };
       
   110     }
       
   111 
       
   112 
       
   113 // ---------------------------------------------------------
       
   114 //   
       
   115 //   r_hgteleport_menu
       
   116 //   Menu for "Options"
       
   117 //
       
   118 // ---------------------------------------------------------
       
   119 //
       
   120 RESOURCE MENU_PANE r_hgteleport_menu
       
   121     {
       
   122     items = 
       
   123         {
       
   124         MENU_ITEM { command = EHgTeleportCmdHelp; 	 txt = qtn_options_help; },
       
   125         MENU_ITEM { command = EAknSoftkeyExit;   	txt = text_softkey_exit; }
       
   126         };
       
   127     }
       
   128 
       
   129 // ---------------------------------------------------------
       
   130 //   
       
   131 //   r_hg_panel_teleport_name
       
   132 //   teleport panel name
       
   133 //
       
   134 // ---------------------------------------------------------
       
   135 //
       
   136 RESOURCE TBUF r_hg_panel_teleport_name
       
   137     {
       
   138     buf="Task Switcher";
       
   139     }
       
   140 
       
   141 // ---------------------------------------------------------
       
   142 //   
       
   143 //   r_hg_teleport_message_dialog_okcancel
       
   144 //   message dialog with ok and cancel softkeys labels
       
   145 //
       
   146 // ---------------------------------------------------------
       
   147 //
       
   148 RESOURCE DIALOG r_hg_teleport_message_dialog_okcancel
       
   149     {
       
   150 	flags = EGeneralQueryFlags;
       
   151 	buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   152 	items =
       
   153 	    {
       
   154 		DLG_LINE
       
   155 		    {
       
   156 			type = EAknCtPopupHeadingPane;
       
   157 			id = EAknMessageQueryHeaderId;
       
   158 			control = AVKON_HEADING
       
   159 			    {
       
   160 			    headinglayout = 0;			
       
   161 			    };
       
   162 		    },
       
   163 		DLG_LINE
       
   164 	    	{
       
   165 			type = EAknCtMessageQuery;
       
   166 			id = EAknMessageQueryContentId;
       
   167 			control = AVKON_MESSAGE_QUERY { };
       
   168 		    }
       
   169 	    };
       
   170     }
       
   171 
       
   172 // ---------------------------------------------------------
       
   173 //   
       
   174 //   r_hg_teleport_message_dialog_yesno
       
   175 //   message dialog with yes and no softkeys labels
       
   176 //
       
   177 // ---------------------------------------------------------
       
   178 //
       
   179 RESOURCE DIALOG r_hg_teleport_message_dialog_yesno
       
   180     {
       
   181 	flags = EGeneralQueryFlags;
       
   182 	buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   183 	items =
       
   184 	    {
       
   185 		DLG_LINE
       
   186 		    {
       
   187 			type = EAknCtPopupHeadingPane;
       
   188 			id = EAknMessageQueryHeaderId;
       
   189 			control = AVKON_HEADING
       
   190 			    {
       
   191 			    headinglayout = 0;			
       
   192 			    };
       
   193 		    },
       
   194 		DLG_LINE
       
   195 	    	{
       
   196 			type = EAknCtMessageQuery;
       
   197 			id = EAknMessageQueryContentId;
       
   198 			control = AVKON_MESSAGE_QUERY { };
       
   199 		    }
       
   200 	    };
       
   201     }
       
   202 
       
   203 // ---------------------------------------------------------
       
   204 //   
       
   205 //   r_hg_teleport_message_dialog_ok
       
   206 //   message dialog with ok softkey label
       
   207 //
       
   208 // ---------------------------------------------------------
       
   209 //
       
   210 RESOURCE DIALOG r_hg_teleport_message_dialog_ok
       
   211     {
       
   212 	flags = EGeneralQueryFlags;
       
   213 	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   214 	items =
       
   215 	    {
       
   216 		DLG_LINE
       
   217 		    {
       
   218 			type = EAknCtPopupHeadingPane;
       
   219 			id = EAknMessageQueryHeaderId;
       
   220 			control = AVKON_HEADING
       
   221 			    {
       
   222 			    headinglayout = 0;			
       
   223 			    };
       
   224 		    },
       
   225 		DLG_LINE
       
   226 	    	{
       
   227 			type = EAknCtMessageQuery;
       
   228 			id = EAknMessageQueryContentId;
       
   229 			control = AVKON_MESSAGE_QUERY { };
       
   230 		    }
       
   231 	    };
       
   232     }
       
   233 
       
   234 // ---------------------------------------------------------
       
   235 //   
       
   236 //   r_hg_teleport_fsw_confirm_close_query
       
   237 //   shown when Clear key is pressed in FSW
       
   238 //
       
   239 // ---------------------------------------------------------
       
   240 //
       
   241 RESOURCE DIALOG r_hg_teleport_fsw_confirm_close_query
       
   242     {
       
   243     flags = EGeneralQueryFlags;
       
   244     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   245     items =
       
   246         {
       
   247         DLG_LINE
       
   248             {
       
   249             type = EAknCtQuery;
       
   250             id = EGeneralQuery;
       
   251             control = AVKON_CONFIRMATION_QUERY
       
   252                 {
       
   253                 layout = EConfirmationQueryLayout;
       
   254                 };
       
   255             }
       
   256         };
       
   257     }
       
   258 
       
   259 
       
   260 
       
   261 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
       
   262 	{
       
   263 	short_caption = "Task Switcher";
       
   264 	caption_and_icon =
       
   265 		{
       
   266 		CAPTION_AND_ICON_INFO 
       
   267 			{
       
   268 			caption="Task Switcher";
       
   269 			}
       
   270 		};
       
   271 	}
       
   272 
       
   273 
       
   274 RESOURCE TBUF r_teleport_title { buf = "Task Switcher"; }
       
   275 
       
   276 RESOURCE TBUF r_teleport_fsw_activate { buf = qtn_task_switcher_popup_open_app; }
       
   277 RESOURCE TBUF r_teleport_fsw_close { buf = qtn_task_switcher_popup_close_app; }
       
   278 RESOURCE TBUF r_teleport_fsw_close_all { buf = qtn_task_switcher_popup_close_all; }
       
   279 RESOURCE TBUF r_teleport_fsw_confirm_close { buf = qtn_memlo_confirm_close; }
       
   280 
       
   281 RESOURCE TBUF r_task_switcher_heading_applications { buf = qtn_task_switcher_heading_applications; }
       
   282 
       
   283 // end of file