MCPcopy Create free account
hub / github.com/SpartanJ/eepp / tabJumpModefromString

Function tabJumpModefromString

include/eepp/ui/uitabwidget.hpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 enum class TabJumpMode { Linear, Chronological };
37
38 static TabJumpMode tabJumpModefromString( std::string_view mode ) {
39 return String::iequals( mode, "chronological" ) ? TabJumpMode::Chronological
40 : TabJumpMode::Linear;
41 }
42
43 static std::string tabJumpModeToString( TabJumpMode mode ) {
44 return mode == TabJumpMode::Chronological ? "chronological" : "linear";

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected