mirror of
https://gitlab.com/comunic/comunicterm
synced 2024-11-16 10:31:06 +00:00
27 lines
505 B
C++
27 lines
505 B
C++
#include <iostream>
|
|
|
|
#include "helpers/userhelper.h"
|
|
#include "conversations_screen.h"
|
|
#include "helpers/conversationshelper.h"
|
|
#include "entities/conversation.h"
|
|
#include "entities/conversationslist.h"
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
void showConversationsScreen()
|
|
{
|
|
|
|
auto list = ConversationsHelper::GetList();
|
|
auto users = UserHelper::getMultiple(list.usersList());
|
|
|
|
for(auto c : list)
|
|
cout << "Conv: " << c.name(users) << endl;
|
|
|
|
|
|
cout << "done" << endl;
|
|
string s;
|
|
cin >> s;
|
|
}
|