diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/txti_8rss_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/txti_8rss_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,119 @@ + + +
+ +00001 // TXTI.RSS +00002 // +00003 // © 2004 Nokia Corporation. All rights reserved. +00004 // +00005 +00006 NAME TXTI +00007 +00008 #include <eikon.RH> +00009 #include <MTUD.RH> +00010 #include "txtucmds.hrh" +00011 +00012 +00013 #define KMtmFirstFreeMtmUiFunctionId 0x201000 +00014 #define KMtmUiFirstFreeDFRDMTMFunctionId KMtmFirstFreeMtmUiFunctionId+0x1000 +00015 #define KMtmUiFirstPlatformMTMFunctionId (KMtmUiFirstFreeDFRDMTMFunctionId+0x1000) +00016 +00017 enum TPlatformMtmUiCmds +00018 { +00019 KMtmUiFunctionMessageInfo = KMtmUiFirstPlatformMTMFunctionId, +00020 KMtmUiFunctionRestoreFactorySettings, +00021 KMtmUiMceWriteMessageSubmenu, +00022 KMtmUiMceWriteMessagePopup, +00023 KMtmUiMceSettings, +00024 KMtmUiMceSettingsTitlePane, +00025 KMtmUiFunctionValidateService, +00026 KMtmUiFunctionDeleteMessage, +00027 KMtmUiFunctionFetchMMS, +00028 KMtmUiFunctionOpenMessage, +00029 KMtmUiFunctionMoveTo, +00030 KMtmUiFunctionDeferSending, +00031 KMtmUiFunctionSend, +00032 KMtmUiFunctionForward, +00033 KMtmUiFunctionFetchSyncML, +00034 KMtmUiFunctionMarkAsRead, +00035 KMtmUiFunctionMMBox, +00036 KMtmUiFunctionUpload, +00037 KMtmUiFunctionDeliveryStatus +00038 }; +00039 +00040 +00041 +00042 +00043 RESOURCE RSS_SIGNATURE +00044 { } +00045 +00046 // MTM-specific function array +00047 RESOURCE MTUD_FUNCTION_ARRAY r_textud_function_array +00048 { +00049 functions= +00050 { +00051 +00052 MTUD_FUNCTION +00053 { +00054 functiontext = "TextMTM"; +00055 command = KMtmUiMceSettings; +00056 flags = EMtudCommandTransferSend; +00057 }, +00058 MTUD_FUNCTION { +00059 functiontext="Refresh service"; +00060 command=ETxtuCommandRefreshMBox; +00061 flags=EMtudCommandTransferReceive; }, +00062 +00063 +00064 MTUD_FUNCTION +00065 { +00066 functiontext = "Message command"; +00067 command = ETxtuCommandMessage; +00068 flags = EMtudContextSpecific|EMtudAsynchronous|EMtudCommandTransferReceive; +00069 } +00070 }; +00071 } +00072 +00073 // User information strings +00074 RESOURCE TBUF80 r_textud_only_refresh_services {buf="Can only refresh service entries"; } +00075 RESOURCE TBUF80 r_textud_can_not_edit_folders {buf="Can not edit folders";} +00076 RESOURCE TBUF80 r_textud_only_messages {buf="This can only be done on local messages";} +00077 RESOURCE TBUF80 r_textud_not_supported {buf="This action is not supported";} +00078 RESOURCE TBUF80 r_textud_status_text {buf="Ready To Send";} +00079 +00080 #if 0 +00081 RESOURCE APP_REGISTRATION_INFO +00082 { +00083 app_file = "Txti"; +00084 attributes = KAppBuiltAsDll; +00085 localisable_resource_file = "Z:\\RESOURCE\\\\Messaging\\mtm\\Txti"; +00086 localisable_resource_id = R_TXTI_LOCALISABLE_APP_INFO; +00087 } +00088 +00089 +00090 RESOURCE LOCALISABLE_APP_INFO r_txti_localisable_app_info +00091 { +00092 short_caption = qtn_apps_txti_short_caption; +00093 caption_and_icon = +00094 CAPTION_AND_ICON_INFO +00095 { +00096 caption = qtn_apps_txti_caption; +00097 +00098 number_of_icons = 3; +00099 icon_file = "Z:\\Resource\\messaging\\Txti.mif"; +00100 +00101 }; +00102 } +00103 #endif +