[ekiga] Transitioned the SIP::Conversation and LM::Conversation classes to the new api
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Transitioned the SIP::Conversation and LM::Conversation classes to the new api
- Date: Mon, 3 Mar 2014 11:32:13 +0000 (UTC)
commit b46d20c33c4590d5ee6f61ecccb3851f26193ef4
Author: Julien Puydt <jpuydt free fr>
Date: Mon Mar 3 12:31:37 2014 +0100
Transitioned the SIP::Conversation and LM::Conversation classes to the new api
lib/engine/components/opal/sip-conversation.h | 8 ++++----
plugins/loudmouth/loudmouth-conversation.h | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/lib/engine/components/opal/sip-conversation.h b/lib/engine/components/opal/sip-conversation.h
index 5a91958..6e5623d 100644
--- a/lib/engine/components/opal/sip-conversation.h
+++ b/lib/engine/components/opal/sip-conversation.h
@@ -57,11 +57,11 @@ namespace SIP {
Ekiga::HeapPtr get_heap () const
{ return boost::dynamic_pointer_cast<Ekiga::Heap>(heap); }
- // FIXME: is that part of the api any good?!
const std::string get_title () const
{ return title; }
- const std::string get_topic () const
- { return topic; }
+
+ const std::string get_status () const
+ { return status; }
void visit_messages (boost::function1<bool, const Ekiga::Message&> visitor) const;
bool send_message (const Ekiga::Message::payload_type& payload);
@@ -85,9 +85,9 @@ namespace SIP {
boost::weak_ptr<Ekiga::PresenceCore> presence_core;
std::string uri;
std::string title;
+ std::string status;
boost::function1<bool, Ekiga::Message::payload_type> sender;
boost::shared_ptr<Heap> heap;
- std::string topic;
int unreads;
std::list<Ekiga::Message> messages;
};
diff --git a/plugins/loudmouth/loudmouth-conversation.h b/plugins/loudmouth/loudmouth-conversation.h
index 776f3a9..2d35f1d 100644
--- a/plugins/loudmouth/loudmouth-conversation.h
+++ b/plugins/loudmouth/loudmouth-conversation.h
@@ -54,8 +54,8 @@ namespace LM {
const std::string get_title () const
{ return title; }
- const std::string get_topic () const
- { return topic; }
+ const std::string get_status () const
+ { return status; }
void visit_messages (boost::function1<bool, const Ekiga::Message&>) const;
@@ -76,7 +76,7 @@ namespace LM {
private:
int unreads;
std::string title;
- std::string topic;
+ std::string status;
std::list<Ekiga::Message> messages;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]