account/text message : add conversation model
- adds conversation class and conversationMessage class.
- adds to each contact a conversation member wich will store the messages history.
Change-Id: Icdab0e2345ef2889057c06d965ff0eb2940c5a27
Tuleap: #943
diff --git a/Contact.cpp b/Contact.cpp
index 2377b9c..703e293 100644
--- a/Contact.cpp
+++ b/Contact.cpp
@@ -1,6 +1,7 @@
/**************************************************************************
* Copyright (C) 2016 by Savoir-faire Linux *
* Author: Jäger Nicolas <nicolas.jager@savoirfairelinux.com> *
+* Author: Traczyk Andreas <traczyk.andreas@savoirfairelinux.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -30,6 +31,7 @@
{
name_ = name;
ringID_ = ringID;
+ conversation_ = ref new Conversation();
}
void