Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT(client): Implemented new Global Shortcuts #6260

Merged
merged 2 commits into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/mumble/GlobalShortcutTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,34 @@ enum Type {
ToggleTalkingUI,
ToggleSearch,
ListenToChannel,
ServerConnect,
ServerDisconnect,
ServerInformation,
ServerTokens,
ServerUserList,
ServerBanList,
SelfPrioritySpeaker,
Recording,
SelfComment,
ServerTexture,
ServerTextureRemove,
SelfRegister,
AudioStats,
ConfigDialog,
AudioWizard,
ConfigCert,
AudioTTS,
HelpAbout,
HelpAboutQt,
HelpVersionCheck,
};

// A few assertions meant to catch, if anyone inserts a new value in-between instead of appending
// to the end of the enum
static_assert(PushToTalk == 1, "You may only append to the end of the enum!");
static_assert(ToggleMinimalView == 9, "You may only append to the end of the enum!");
static_assert(ToggleSearch == 22, "You may only append to the end of the enum!");
static_assert(HelpVersionCheck == 43, "You may only append to the end of the enum!");
} // namespace GlobalShortcutType

#endif // MUMBLE_MUMBLE_GLOBALSHORTCUTTYPES_H_
Loading