Closed Homailot closed 4 years ago
Also create functions to print relevant and longer information (date joined/created, viewers in streams, stream genre, ....)
So you want functions in the User/Streams class to get acess to relevant information? Or a function in account to print that information?
Just to print i guess like shortDescription and longDescription
Fixed and created getShortDescription() , getLongDescription() ...
As shown here:
For Streamers (same as Users):
https://github.com/DoStini/FEUP-AEDA-proj/blob/4aef47f62ede3f46cbafa1ed35fc900042c786a5/src/Accounts/ViewerAcc.cpp#L248-L253
For LiveStreams:
https://github.com/DoStini/FEUP-AEDA-proj/blob/4aef47f62ede3f46cbafa1ed35fc900042c786a5/src/Accounts/ViewerAcc.cpp#L171-L175
https://github.com/DoStini/FEUP-AEDA-proj/blob/4aef47f62ede3f46cbafa1ed35fc900042c786a5/src/Accounts/Account.cpp#L299-L303
For Users:
https://github.com/DoStini/FEUP-AEDA-proj/blob/4aef47f62ede3f46cbafa1ed35fc900042c786a5/src/Accounts/Account.cpp#L353-L357