mirror of https://github.com/qTox/qTox.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
363 B
21 lines
363 B
#ifndef FRIENDLIST_H |
|
#define FRIENDLIST_H |
|
|
|
#include <QString> |
|
#include <QList> |
|
|
|
class Friend; |
|
|
|
class FriendList |
|
{ |
|
public: |
|
FriendList(); |
|
static Friend* addFriend(int friendId, QString userId); |
|
static Friend* findFriend(int friendId); |
|
static void removeFriend(int friendId); |
|
|
|
public: |
|
static QList<Friend*> friendList; |
|
}; |
|
|
|
#endif // FRIENDLIST_H
|
|
|