[ekiga] Auto-answering calls is not a protocol dependant feature.



commit 48f4cc19fb7b2131873417648a2451b3cdf654ef
Author: Damien Sandras <dsandras seconix com>
Date:   Thu Jul 16 19:56:21 2009 +0200

    Auto-answering calls is not a protocol dependant feature.
    
    It should be supported by all call managers.

 lib/engine/protocol/call-manager.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/protocol/call-manager.h b/lib/engine/protocol/call-manager.h
index 76bf7bd..bd891aa 100644
--- a/lib/engine/protocol/call-manager.h
+++ b/lib/engine/protocol/call-manager.h
@@ -198,6 +198,17 @@ namespace Ekiga
      */
     virtual unsigned get_reject_delay () const = 0;
 
+    /** Set auto answer
+     * @param true if incoming calls should be auto answered.
+     */
+    virtual void set_auto_answer (bool enabled) = 0;
+
+    /** Get auto answer
+     * @return true if incoming calls should be auto answered.
+     */
+    virtual bool get_auto_answer () const = 0;
+
+
     /*
      * MISC
      */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]