r3301 - trunk/libminisip/include/libminisip/gui

erik at minisip.org erik at minisip.org
Mon Jun 11 16:08:02 CEST 2007


Author: erik
Date: 2007-06-11 16:08:02 +0200 (Mon, 11 Jun 2007)
New Revision: 3301

Modified:
   trunk/libminisip/include/libminisip/gui/Gui.h
Log:

 * added sendCommandResp to class Gui. 

   The GUI interface contained a sendCommand method that calls the
   handleCommand method in the MessageRouter.

   After that method was created we have enhanced the MessageRouter message
   passing class to also support delivering responses back to the caller.
   This commit makes it possible for GUIs to use that.
   




Modified: trunk/libminisip/include/libminisip/gui/Gui.h
===================================================================
--- trunk/libminisip/include/libminisip/gui/Gui.h	2007-06-11 13:36:36 UTC (rev 3300)
+++ trunk/libminisip/include/libminisip/gui/Gui.h	2007-06-11 14:08:02 UTC (rev 3301)
@@ -105,6 +105,10 @@
 			callback->handleCommand(toSubsystem, cmd);
 		}
 
+		CommandString sendCommandResp(std::string toSubsystem, const CommandString &cmd){
+			return callback->handleCommandResp(toSubsystem, cmd);
+		}
+
 		virtual bool configDialog( MRef<SipSoftPhoneConfiguration *> conf )=0;
 
 		virtual void run()=0;



More information about the Minisip-devel mailing list