mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
22 lines
363 B
C
22 lines
363 B
C
|
#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
|