Skip to content

Commit

Permalink
Merge PR #6260: FEAT(client): Implemented new Global Shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl authored Dec 31, 2023
2 parents 71fd785 + 7ffe0a7 commit ead6fc9
Show file tree
Hide file tree
Showing 48 changed files with 8,988 additions and 165 deletions.
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

0 comments on commit ead6fc9

Please sign in to comment.