application/data/PodcastFeedView.ra
branch3rded
changeset 177 269e3f3e544a
parent 176 1c8b56cb6409
child 206 9c3ebab9d24f
equal deleted inserted replaced
176:1c8b56cb6409 177:269e3f3e544a
    36     {
    36     {
    37     items =
    37     items =
    38         {
    38         {
    39 		MENU_ITEM
    39 		MENU_ITEM
    40 			{
    40 			{
    41 			command = EPodcastImportExportFeeds;
    41 			command = EPodcastUpdateAllFeeds;
    42 			txt = STRING_r_view_import_export_feeds_cmd;
    42 			txt= STRING_r_update_all_feeds_cmd;
    43 			cascade = r_importexport_menu;
    43 			},
    44 			},
    44 		MENU_ITEM
    45 		MENU_ITEM
    45 			{
    46 			{
    46 			command = EPodcastCancelUpdateAllFeeds;
    47 			command = EPodcastAbout;
    47 			txt = STRING_r_cancel_update_all_feeds_cmd;
    48 			txt = STRING_r_view_about_cmd;
    48 			},
    49 			}, 
    49 		MENU_ITEM
    50 		MENU_ITEM
    50 			{
    51 			{
    51 			command = EPodcastFeedFeedMenu;
    52 			command = EPodcastHelp;
    52 			txt = STRING_r_view_feed_feed_menu;
       
    53 			cascade = r_feed_feed_menu;
       
    54 			},
       
    55 //		MENU_ITEM
       
    56 //			{
       
    57 //			command = EPodcastImportExportFeeds;
       
    58 //			txt = STRING_r_view_import_export_feeds_cmd;
       
    59 //			cascade = r_importexport_menu;
       
    60 //			},
       
    61 		MENU_ITEM
       
    62 			{
       
    63 			command = EPodcastSettings;
       
    64 			txt = STRING_r_settings_cmd;
       
    65 			},
       
    66 		MENU_ITEM
       
    67 			{
       
    68 			command = EPodcastFeedHelpMenu;
    53 			txt = STRING_r_view_help;
    69 			txt = STRING_r_view_help;
       
    70 			cascade = r_feed_help_menu;
    54 			},
    71 			},
    55 		MENU_ITEM
    72 		MENU_ITEM
    56 			{
    73 			{
    57 			command = EAknSoftkeyExit;
    74 			command = EAknSoftkeyExit;
    58 			txt = STRING_r_exit_cmd;
    75 			txt = STRING_r_exit_cmd;
    59 			}
    76 			}
    60         };
    77         };
    61     }
    78     }
    62 
    79 
       
    80 RESOURCE MENU_PANE r_feed_help_menu
       
    81 	{
       
    82 	items =	{
       
    83 		
       
    84 		MENU_ITEM
       
    85 		{
       
    86 		command = EPodcastAbout;
       
    87 		txt = STRING_r_view_about_cmd;
       
    88 		}, 
       
    89 		MENU_ITEM
       
    90 		{
       
    91 		command = EPodcastHelp;
       
    92 		txt = STRING_r_view_help;
       
    93 		}
       
    94 	};
       
    95 	}
       
    96 
    63 RESOURCE MENU_PANE r_importexport_menu
    97 RESOURCE MENU_PANE r_importexport_menu
    64 	{
    98 	{
    65 	items =	{
    99 	items =	{
    66 		MENU_ITEM
   100 		MENU_ITEM
    67 			{
   101 			{
    73 			command = EPodcastExportFeeds;
   107 			command = EPodcastExportFeeds;
    74 			txt = STRING_r_view_export_feeds_cmd;
   108 			txt = STRING_r_view_export_feeds_cmd;
    75 			}
   109 			}
    76 	};	
   110 	};	
    77 	}
   111 	}
       
   112 
       
   113 RESOURCE MENU_PANE r_feed_feed_menu
       
   114 	{
       
   115 	items =	{
       
   116 	MENU_ITEM
       
   117 		{
       
   118 		command = EPodcastAddFeed;
       
   119 		txt = STRING_r_view_add_feed_cmd;
       
   120 		},
       
   121 	MENU_ITEM
       
   122 		{
       
   123 			txt = STRING_r_view_edit_feed_cmd;
       
   124 			command = EPodcastEditFeed; 
       
   125 		},
       
   126 	MENU_ITEM
       
   127 		{
       
   128 			txt = STRING_r_view_delete_feed_cmd;
       
   129 			command = EPodcastDeleteFeed;
       
   130 		},
       
   131 //	MENU_ITEM
       
   132 //		{
       
   133 //			txt = STRING_r_update_feed_cmd;
       
   134 //			command = EPodcastUpdateFeed;
       
   135 //		},
       
   136 	MENU_ITEM
       
   137 		{
       
   138 		command = EPodcastImportFeeds;
       
   139 		txt = STRING_r_view_import_feeds_cmd;
       
   140 		},
       
   141 	MENU_ITEM
       
   142 		{
       
   143 		command = EPodcastExportFeeds;
       
   144 		txt = STRING_r_view_export_feeds_cmd;
       
   145 		}
       
   146 	};	
       
   147 	}
       
   148 
    78 
   149 
    79 RESOURCE CBA r_podcast_cba
   150 RESOURCE CBA r_podcast_cba
    80 	{
   151 	{
    81 	buttons =
   152 	buttons =
    82 		{
   153 		{
    90 RESOURCE AVKON_VIEW r_podcast_feedview
   161 RESOURCE AVKON_VIEW r_podcast_feedview
    91 {
   162 {
    92 	hotkeys = r_podcast_feedview_hotkeys;
   163 	hotkeys = r_podcast_feedview_hotkeys;
    93 	menubar = r_podcast_feedview_menubar;
   164 	menubar = r_podcast_feedview_menubar;
    94 	cba = r_podcast_cba;
   165 	cba = r_podcast_cba;
    95 //	toolbar = r_feedview_toolbar;
   166 }
    96 }
       
    97 
       
    98 //RESOURCE AVKON_TOOLBAR r_feedview_toolbar
       
    99 //    {
       
   100 //    flags = KAknToolbarFixed;
       
   101 //    items =
       
   102 //        {
       
   103 //        TBAR_CTRL
       
   104 //            {
       
   105 //            type = EAknCtButton;
       
   106 //            id = EPodcastUpdateAllFeeds;
       
   107 //            control = AVKON_BUTTON
       
   108 //                {
       
   109 //                states =
       
   110 //                    {
       
   111 //                    AVKON_BUTTON_STATE
       
   112 //                        {
       
   113 //                        //bmpfile = AVKON_BITMAP_FILE;
       
   114 //                        //bmpid = EMbmAvkonQgn_indi_find_goto;
       
   115 //                        txt = STRING_r_update_feed_short_cmd;
       
   116 //                        helptxt = STRING_r_update_all_feeds_cmd;
       
   117 //                        }  
       
   118 //                    };
       
   119 //                };
       
   120 //            },
       
   121 //		TBAR_CTRL
       
   122 //			{
       
   123 //			type = EAknCtButton;
       
   124 //			id = EPodcastCancelUpdateAllFeeds;
       
   125 //			control = AVKON_BUTTON
       
   126 //				{
       
   127 //				states =
       
   128 //					{
       
   129 //					AVKON_BUTTON_STATE
       
   130 //						{
       
   131 //						//bmpfile = AVKON_BITMAP_FILE;
       
   132 //						//bmpid = EMbmAvkonQgn_indi_find_goto;
       
   133 //						txt = STRING_r_cancel_update_all_feeds_short_cmd;
       
   134 //						helptxt = STRING_r_cancel_update_all_feeds_cmd;
       
   135 //					   }  
       
   136 //					};
       
   137 //				};
       
   138 //		},
       
   139 //		TBAR_CTRL
       
   140 //			{
       
   141 //			type = EAknCtButton;
       
   142 //			id = EPodcastAddFeed;
       
   143 //			control = AVKON_BUTTON
       
   144 //				{
       
   145 //				flags = KAknButtonTextInsideFrame;
       
   146 //				states =
       
   147 //					{
       
   148 //					AVKON_BUTTON_STATE
       
   149 //						{
       
   150 //						//bmpfile = AVKON_BITMAP_FILE;
       
   151 //						//bmpid = EMbmAvkonQgn_indi_find_goto;
       
   152 //						//press_bmpid = EMbmAvkonQgn_indi_find_goto;
       
   153 //						txt = STRING_r_view_add_feed_cmd_short;
       
   154 //						helptxt = STRING_r_view_add_feed_cmd;
       
   155 //						} 
       
   156 //					};
       
   157 //				};
       
   158 //			},
       
   159 //			TBAR_CTRL
       
   160 //				{
       
   161 //				type = EAknCtButton;
       
   162 //				id = EPodcastSettings;
       
   163 //				control = AVKON_BUTTON
       
   164 //					{
       
   165 //					states =
       
   166 //						{
       
   167 //						AVKON_BUTTON_STATE
       
   168 //							{
       
   169 //							//bmpfile = AVKON_BITMAP_FILE;
       
   170 //							//bmpid = EMbmAvkonQgn_indi_find_goto;
       
   171 //							//press_bmpid = EMbmAvkonQgn_indi_find_goto;
       
   172 //							txt = STRING_r_settings_cmd;
       
   173 //							helptxt = STRING_r_settings_cmd;
       
   174 //						   }  
       
   175 //						};
       
   176 //					};
       
   177 //			}
       
   178 //			};// items
       
   179 //    }
       
   180 
   167 
   181 RESOURCE DIALOG r_podcast_add_feed_dlg
   168 RESOURCE DIALOG r_podcast_add_feed_dlg
   182 {
   169 {
   183 	buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
   170 	buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
   184 
   171 
   247 					};	
   234 					};	
   248 				}
   235 				}
   249 	};
   236 	};
   250 }
   237 }
   251 
   238 
   252 RESOURCE STYLUS_POPUP_MENU r_feedview_popup_menu
   239 RESOURCE FILESELECTIONDIALOG r_podcast_import_podcast
   253 	{
   240 {
   254 		items =
   241  title = STRING_r_view_import_feeds_title;
   255 		{
   242  root_path = "";
   256 			STYLUS_POPUP_MENU_ITEM
   243  filters =
   257 				{
   244  {
   258 					txt = STRING_r_view_edit_feed_cmd_short;
   245   FILTER
   259 					command = EPodcastEditFeed; 
   246   {
   260 				},
   247   filter_type = EFilenameFilter;
   261 			STYLUS_POPUP_MENU_ITEM
   248   filter_style = EInclusiveFilter;
   262 				{
   249   filter_data = { "*.*" };
   263 					txt = STRING_r_view_delete_feed_cmd_short;
   250   }
   264 					command = EPodcastDeleteFeed;
   251  };
   265 				},
   252 }
   266 			STYLUS_POPUP_MENU_ITEM
   253 
   267 				{
   254 RESOURCE FILESELECTIONDIALOG r_podcast_export_feeds
   268 					txt = STRING_r_update_feed_short_cmd;
   255 {
   269 					command = EPodcastUpdateFeed;
   256  title = STRING_r_view_export_feeds_title;
   270 				}
   257  root_path = "";
   271 		};
   258  filters =
   272 	}
   259  {
       
   260   FILTER
       
   261   {
       
   262   filter_type = EFilenameFilter;
       
   263   filter_style = EInclusiveFilter;
       
   264   filter_data = { "*.*" };
       
   265   }
       
   266  };
       
   267 }
       
   268 
       
   269 RESOURCE FILENAMEPROMPTDIALOG r_podcast_filename_prompt_dialog
       
   270 {
       
   271   filename_prompt = STRING_r_enter_filename;
       
   272   default_filename = "feeds.xml";
       
   273   path = "";
       
   274 }