- Replace header include guards with `#pragma once` and perform minor optimizations. - Replaced traditional include guards with `#pragma once` for simplicity and to reduce boilerplate in all headers. - Improved CLI line number handling with clamping and error messaging. - Enhanced `chdir` error handling for macOS GUI builds. - Removed redundant logic for GUI builds. - Adjusted font constructor and registry to handle `const` data pointers consistently.
13 lines
340 B
C++
13 lines
340 B
C++
/*
|
|
* HelpText.h - embedded/customizable help content
|
|
*/
|
|
#pragma once
|
|
#include <string>
|
|
|
|
class HelpText {
|
|
public:
|
|
// Returns the embedded help text as a single string with newlines.
|
|
// Project maintainers can customize the returned string below
|
|
// (in HelpText.cc) without touching the help command logic.
|
|
static std::string Text();
|
|
}; |