MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / WriteStandardHeader

Function WriteStandardHeader

Source/SysOSX/Debug/WebDebugTemplate.cpp:7–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "WebDebug.h"
6
7void WriteStandardHeader(WebDebugConnection * connection, const char * title)
8{
9 connection->WriteString(
10 "<!DOCTYPE html>\n"
11 "<html lang=\"en\">\n"
12 " <head>\n"
13 " <meta charset=\"utf-8\">\n"
14 " <link href=\"css/bootstrap.min.css\" rel=\"stylesheet\">\n"
15 );
16 connection->WriteF(" <title>%s</title>\n", title);
17 connection->WriteString(" </head><body>\n");
18}
19
20void WriteStandardFooter(WebDebugConnection * connection, const char * user_script)
21{

Callers 3

TextureCacheHandlerFunction · 0.85
Generate404Function · 0.85
Generate500Function · 0.85

Calls 2

WriteStringMethod · 0.80
WriteFMethod · 0.80

Tested by

no test coverage detected