Ring Daemon 16.0.0
|
#include <conversation.h>
Public Member Functions | |
ConvInfo ()=default | |
ConvInfo (const ConvInfo &)=default | |
ConvInfo (const Json::Value &json) | |
ConvInfo (const std::string &id) | |
ConvInfo (ConvInfo &&)=default | |
bool | isRemoved () const |
ConvInfo & | operator= (const ConvInfo &)=default |
ConvInfo & | operator= (ConvInfo &&)=default |
Json::Value | toJson () const |
Public Attributes | |
time_t | created {0} |
time_t | erased {0} |
std::string | id {} |
std::string | lastDisplayed {} |
std::set< std::string > | members |
time_t | removed {0} |
Definition at line 103 of file conversation.h.
|
default |
|
default |
|
inline |
Definition at line 115 of file conversation.h.
|
explicit |
Definition at line 45 of file conversation.cpp.
References jami::ConversationMapKeys::CREATED, created, jami::ConversationMapKeys::ERASED, erased, jami::ConversationMapKeys::ID, jami::ConversationMapKeys::LAST_DISPLAYED, lastDisplayed, jami::ConversationMapKeys::MEMBERS, members, jami::ConversationMapKeys::REMOVED, and removed.
|
inline |
Definition at line 118 of file conversation.h.
Json::Value jami::ConvInfo::toJson | ( | ) | const |
Definition at line 58 of file conversation.cpp.
References jami::ConversationMapKeys::CREATED, created, jami::emitSignal(), jami::ConversationMapKeys::ERASED, erased, jami::ConversationMapKeys::ID, id, jami::ConversationMapKeys::LAST_DISPLAYED, lastDisplayed, jami::ConversationMapKeys::MEMBERS, members, jami::ConversationMapKeys::REMOVED, and removed.
time_t jami::ConvInfo::created {0} |
Definition at line 106 of file conversation.h.
Referenced by ConvInfo(), isRemoved(), and toJson().
time_t jami::ConvInfo::erased {0} |
Definition at line 108 of file conversation.h.
Referenced by ConvInfo(), and toJson().
std::string jami::ConvInfo::id {} |
Definition at line 105 of file conversation.h.
Referenced by toJson().
std::string jami::ConvInfo::lastDisplayed {} |
Definition at line 110 of file conversation.h.
Referenced by ConvInfo(), and toJson().
std::set<std::string> jami::ConvInfo::members |
Definition at line 109 of file conversation.h.
Referenced by ConvInfo(), jami::SyncedConversation::getMembers(), and toJson().
time_t jami::ConvInfo::removed {0} |
Definition at line 107 of file conversation.h.
Referenced by ConvInfo(), isRemoved(), and toJson().