[EGD-2892] Added getCount for unreached calls & unread SMS and used it in Desktop

This commit is contained in:
Adam Dobrowolski
2020-02-27 12:23:53 +01:00
committed by pholat
parent 357aa8d3f1
commit dc9b2b67db
17 changed files with 138 additions and 33 deletions

View File

@@ -109,9 +109,13 @@ bool SMSRecordInterface::Add(const SMSRecord &rec) {
return true;
}
uint32_t SMSRecordInterface::GetCount(SMSState state)
{
return smsDB->sms.GetCount(state);
}
uint32_t SMSRecordInterface::GetCount() {
return smsDB->sms.GetCount();
return GetCount(SMSState::ALL);
}
uint32_t SMSRecordInterface::GetLastID(void)