[ekiga/ds-fix-boost-leaks] SIP::EndPoint: Removed send_message method.



commit f4d5948727a42ebe583811b24274e098b4d66ff1
Author: Damien Sandras <dsandras seconix com>
Date:   Sun Jun 21 15:31:20 2015 +0200

    SIP::EndPoint: Removed send_message method.
    
    It will be reimplemented at a later stage.

 .../components/opal/process/sip-endpoint.cpp       |   20 --------------------
 lib/engine/components/opal/process/sip-endpoint.h  |    5 -----
 2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/lib/engine/components/opal/process/sip-endpoint.cpp 
b/lib/engine/components/opal/process/sip-endpoint.cpp
index 0196fce..80e5935 100644
--- a/lib/engine/components/opal/process/sip-endpoint.cpp
+++ b/lib/engine/components/opal/process/sip-endpoint.cpp
@@ -125,26 +125,6 @@ Opal::Sip::EndPoint::~EndPoint ()
 
 
 bool
-Opal::Sip::EndPoint::send_message (const std::string & _uri,
-                                  const Ekiga::Message::payload_type payload)
-{
-  // FIXME: here we should check which kind of payload we have
-  Ekiga::Message::payload_type::const_iterator iter = payload.find("text/plain");
-  if (!_uri.empty () && (_uri.find ("sip:") == 0 || _uri.find (':') == string::npos) && iter != payload.end 
()) {
-
-    OpalIM im;
-    im.m_to = PURL (_uri);
-    im.m_bodies.SetAt (PMIMEInfo::TextPlain(), iter->second);
-    Message (im);
-
-    return true;
-  }
-
-  return false;
-}
-
-
-bool
 Opal::Sip::EndPoint::SetUpCall (const std::string & uri)
 {
   PString token;
diff --git a/lib/engine/components/opal/process/sip-endpoint.h 
b/lib/engine/components/opal/process/sip-endpoint.h
index c7bef0c..86519cf 100644
--- a/lib/engine/components/opal/process/sip-endpoint.h
+++ b/lib/engine/components/opal/process/sip-endpoint.h
@@ -46,7 +46,6 @@
 #include "presence-core.h"
 #include "call-manager.h"
 #include "opal-bank.h"
-#include "sip-dialect.h"
 #include "call-core.h"
 #include "services.h"
 
@@ -71,10 +70,6 @@ namespace Opal {
       bool SetUpCall (const std::string & uri);
 
 
-      /* Chat subsystem */
-      bool send_message (const std::string & uri,
-                         const Ekiga::Message::payload_type payload);
-
       bool StartListener (unsigned port);
 
       //


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