Audacity 3.2.0
Keyboard.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Keyboard.h
6
7 Dominic Mazzoni
8 Brian Gunlogson
9
10**********************************************************************/
11
12#ifndef __AUDACITY_KEYBOARD__
13#define __AUDACITY_KEYBOARD__
14
15#include "Identifier.h"
16
17class wxKeyEvent;
18
19struct NormalizedKeyStringTag;
20// Case insensitive comparisons
22
24{
26 explicit NormalizedKeyString( const wxString &key );
27
28 wxString Display(bool usesSpecialChars = false) const;
29};
30
31namespace std
32{
33 template<> struct hash< NormalizedKeyString >
34 : hash< NormalizedKeyStringBase > {};
35}
36
37#endif
static const AudacityProject::AttachedObjects::RegisteredFactory key
Template generates different TaggedIdentifier classes that don't interconvert implicitly.
Definition: Identifier.h:113
STL namespace.
NormalizedKeyString()=default