1
0
mirror of https://gitlab.com/comunic/comunicterm synced 2024-07-06 07:29:16 +00:00
comunicterm/conversations_screen.cpp

27 lines
505 B
C++
Raw Normal View History

2020-01-12 19:24:35 +00:00
#include <iostream>
#include "helpers/userhelper.h"
2020-01-12 19:24:35 +00:00
#include "conversations_screen.h"
#include "helpers/conversationshelper.h"
#include "entities/conversation.h"
#include "entities/conversationslist.h"
2020-01-12 19:24:35 +00:00
using namespace std;
void showConversationsScreen()
{
2020-01-12 19:24:35 +00:00
auto list = ConversationsHelper::GetList();
auto users = UserHelper::getMultiple(list.usersList());
2020-01-12 19:24:35 +00:00
for(auto c : list)
cout << "Conv: " << c.name(users) << endl;
2020-01-12 19:24:35 +00:00
cout << "done" << endl;
string s;
cin >> s;
}