mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Apparently the first commit (59ae429972)
did not include all files.
Furthermore the used script tended to produce funny results in certain
cases. This has been fixed and as a result thereof a few more changes
were made in this second run.
41 lines
1004 B
C++
41 lines
1004 B
C++
// Copyright 2007-2021 The Mumble Developers. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license
|
|
// that can be found in the LICENSE file at the root of the
|
|
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
|
|
|
|
#ifndef MUMBLE_GROUP_H_
|
|
#define MUMBLE_GROUP_H_
|
|
|
|
#include <QtCore/QSet>
|
|
|
|
class Channel;
|
|
class User;
|
|
class ServerUser;
|
|
|
|
class Group {
|
|
private:
|
|
Q_DISABLE_COPY(Group)
|
|
public:
|
|
/// A flag indicating whether access tokens shall be treated case-sensitive or case-insensitive
|
|
static const Qt::CaseSensitivity accessTokenCaseSensitivity;
|
|
|
|
Channel *c;
|
|
QString qsName;
|
|
bool bInherit;
|
|
bool bInheritable;
|
|
QSet< int > qsAdd;
|
|
QSet< int > qsRemove;
|
|
QSet< int > qsTemporary;
|
|
Group(Channel *assoc, const QString &name);
|
|
|
|
#ifdef MURMUR
|
|
QSet< int > members();
|
|
static QSet< QString > groupNames(Channel *c);
|
|
static Group *getGroup(Channel *c, QString name);
|
|
|
|
static bool isMember(Channel *c, Channel *aclChan, QString name, ServerUser *);
|
|
#endif
|
|
};
|
|
|
|
#endif
|