phoneapp/phoneuiqtviewadapter/inc/phonecommandextensionwrapper.h
changeset 45 6b911d05207e
parent 21 92ab7f8d0eab
--- a/phoneapp/phoneuiqtviewadapter/inc/phonecommandextensionwrapper.h	Fri Jun 04 10:19:18 2010 +0100
+++ b/phoneapp/phoneuiqtviewadapter/inc/phonecommandextensionwrapper.h	Wed Jun 23 18:12:20 2010 +0300
@@ -74,6 +74,22 @@
     void modifyPushButtonCommandList(
             const QList<XQTelUiCommandExtension::CallInfo> &callInfo, 
             QList<int> &buttonCmdList);
+ 
+    /*!
+        \fn void modifyToolBarCommandList(QList<int> &menuCmdList)
+        
+        Modifies tool bar command list. CallInfo contains current call 
+        information and toolBarCmdList contains current list of tool 
+        bar commands. 
+        Interface can remove/disable commands if the command list contains 
+        unsupported call commands (For example if service doesn't support 
+        conference call) or add commads which should be handled by telephony  
+        call handling (maximum amount of tool bar commands is 4 and list
+        index 0 is used for right button).
+    */
+    void modifyToolBarCommandList(
+            const QList<XQTelUiCommandExtension::CallInfo> &callInfo,
+            QList<XQTelUiCommandExtension::ToolBarCommand> &toolBarCmdList);
     
     /*!
         \fn void addMenuActions(QList<HbAction*> &menuActions)