MCPcopy Create free account
hub / github.com/NetHack/NetHack / qt_getmsghistory

Method qt_getmsghistory

win/Qt/qt_bind.cpp:1060–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1058}
1059
1060char *NetHackQtBind::qt_getmsghistory(boolean init)
1061{
1062 NetHackQtMessageWindow *window = main->GetMessageWindow();
1063 if (window)
1064 return (char *) window->GetStr((bool) init);
1065 return NULL;
1066}
1067
1068void NetHackQtBind::qt_putmsghistory(const char *msg, boolean is_restoring)
1069{

Callers

nothing calls this directly

Calls 2

GetMessageWindowMethod · 0.80
GetStrMethod · 0.80

Tested by

no test coverage detected