r3170 - in trunk/libminisip: . include/libminisip/gui include/libminisip/sip

erik at minisip.org erik at minisip.org
Thu Feb 1 10:39:00 CET 2007


Author: erik
Date: 2007-02-01 10:38:59 +0100 (Thu, 01 Feb 2007)
New Revision: 3170

Modified:
   trunk/libminisip/configure.ac
   trunk/libminisip/include/libminisip/gui/Gui.h
   trunk/libminisip/include/libminisip/sip/SipSoftPhoneConfiguration.h
Log:

  * Removed "--enable-autocall" configure option.
     -> this kind of functionality should be available some other way, for
        example with an argument to application, or using the "startup
	commands" in the configuration.
  * Removed dead code




Modified: trunk/libminisip/configure.ac
===================================================================
--- trunk/libminisip/configure.ac	2007-02-01 09:36:00 UTC (rev 3169)
+++ trunk/libminisip/configure.ac	2007-02-01 09:38:59 UTC (rev 3170)
@@ -47,15 +47,6 @@
 dnl Check types
 AC_CHECK_TYPES([uint])
 
-dnl debug flag
-AC_ARG_ENABLE(autocall,
-    AS_HELP_STRING([--enable-autocall],
-    	[enables automatic calling for debug purposes (default disabled)]),
-    [ if test "${enable_autocall}" = "yes"
-      then
-        AC_DEFINE(MINISIP_AUTOCALL, [], [Debug autocalling])
-      fi ])
-
 dnl compile for iPAQ
 AC_ARG_ENABLE(ipaq,
     AS_HELP_STRING([--enable-ipaq],

Modified: trunk/libminisip/include/libminisip/gui/Gui.h
===================================================================
--- trunk/libminisip/include/libminisip/gui/Gui.h	2007-02-01 09:36:00 UTC (rev 3169)
+++ trunk/libminisip/include/libminisip/gui/Gui.h	2007-02-01 09:38:59 UTC (rev 3170)
@@ -42,17 +42,6 @@
 		virtual ~Gui();
 
 		/**
-		* Purpose: Displays an error message to the user. This
-		* method must be able to display messages before the GUI
-		* is "run" (because of errors when initializing the
-		* application). (Error handling method)
-		* 
-		* @param s     Message that will be displayed to the
-		* user.
-		*/
-		//virtual void displayErrorMessage(std::string s)=0;
-
-		/**
 		* Purpose: The user interface will probably need a
 		* reference to the SipSoftPhone. After the GUI has
 		* been created and before it is "run" a pointer to

Modified: trunk/libminisip/include/libminisip/sip/SipSoftPhoneConfiguration.h
===================================================================
--- trunk/libminisip/include/libminisip/sip/SipSoftPhoneConfiguration.h	2007-02-01 09:36:00 UTC (rev 3169)
+++ trunk/libminisip/include/libminisip/sip/SipSoftPhoneConfiguration.h	2007-02-01 09:38:59 UTC (rev 3170)
@@ -129,10 +129,6 @@
 
 		std::list<MRef<PhoneBook *> > phonebooks;
 
-#ifdef MINISIP_AUTOCALL
-		std::string autoCall;
-#endif
-
 		std::string ringtone;
 		
 		std::list<std::string> audioCodecs;



More information about the Minisip-devel mailing list