WiP: record interface

This commit is contained in:
Mati committed 2019-06-04 08:27:30 +02:00
1 parent b096a7a22e
commit d446b0ac94
27 files changed
+446 -43

No files matched your search

+11 -1
View File
@@ -22,7 +22,17 @@ SMSRecord::~SMSRecord() {
bool SMSRecord::Add() {
auto db = std::make_unique<SmsDB>();
auto smsdb = std::make_unique<SmsDB>();
auto contactdb = std::make_unique<ContactsDB>();
// Check if contact exists
auto contact = contactdb->number.GetByName(number.c_str());
if(contact.ID == 0){
}
//db->threads.Add()
}