mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
23 lines
361 B
C
23 lines
361 B
C
|
#ifndef GROUPLIST_H
|
||
|
#define GROUPLIST_H
|
||
|
|
||
|
#include <QString>
|
||
|
#include <QList>
|
||
|
#include <QMap>
|
||
|
|
||
|
class Group;
|
||
|
|
||
|
class GroupList
|
||
|
{
|
||
|
public:
|
||
|
GroupList();
|
||
|
static Group* addGroup(int groupId, QString name);
|
||
|
static Group* findGroup(int groupId);
|
||
|
static void removeGroup(int groupId);
|
||
|
|
||
|
public:
|
||
|
static QList<Group*> groupList;
|
||
|
};
|
||
|
|
||
|
#endif // GROUPLIST_H
|