1
0
mirror of https://gitlab.com/comunic/comunicterm synced 2024-11-16 10:31:06 +00:00
comunicterm/entities/conversation.cpp

77 lines
1.0 KiB
C++

#include "conversation.h"
Conversation::Conversation()
{
}
int Conversation::iD() const
{
return mID;
}
void Conversation::setID(int iD)
{
mID = iD;
}
int Conversation::iD_Owner() const
{
return mID_Owner;
}
void Conversation::setID_Owner(int iD_Owner)
{
mID_Owner = iD_Owner;
}
int Conversation::lastActive() const
{
return mLastActive;
}
void Conversation::setLastActive(int lastActive)
{
mLastActive = lastActive;
}
std::string Conversation::name() const
{
return mName;
}
void Conversation::setName(const std::string &name)
{
mName = name;
}
bool Conversation::following() const
{
return mFollowing;
}
void Conversation::setFollowing(bool following)
{
mFollowing = following;
}
bool Conversation::sawLastMessage() const
{
return mSawLastMessage;
}
void Conversation::setSawLastMessage(bool sawLastMessage)
{
mSawLastMessage = sawLastMessage;
}
std::vector<int> Conversation::members() const
{
return mMembers;
}
void Conversation::setMembers(const std::vector<int> &members)
{
mMembers = members;
}