MCPcopy Create free account
hub / github.com/audacity/audacity / WindowEventSerialization

Function WindowEventSerialization

src/JournalEvents.cpp:182–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182std::optional<wxArrayStringEx> WindowEventSerialization( const wxEvent &event )
183{
184 std::optional< wxArrayStringEx > result;
185 if ( auto windowName = WindowEventName( event ); !windowName.empty() )
186 result.emplace( wxArrayStringEx{ windowName } );
187 else
188 FailedEventSerialization();
189 return result;
190}
191
192template<typename Event = wxCommandEvent, typename EventType >
193static Type NullaryCommandType( EventType type, const wxString &code ){

Callers 3

BooleanCommandTypeFunction · 0.85
NumericalCommandTypeFunction · 0.85
TextualCommandTypeFunction · 0.85

Calls 4

WindowEventNameFunction · 0.85
FailedEventSerializationFunction · 0.85
emplaceMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected