--- nono/lib/mainapp.h 2026/04/29 17:05:26 1.1.1.15 +++ nono/lib/mainapp.h 2026/04/29 17:05:39 1.1.1.17 @@ -153,6 +153,9 @@ class MainApp // --bi-exg (とりあえず) bool debug_breakinst_exg {}; + // --console-log: コンソールデバイスの出力ログ。 + const char *console_logfile {}; + // -d: 起動時にデバッガで停止 bool debug_on_start {}; @@ -195,10 +198,14 @@ class MainApp int Init1a(int, char *[]); int Init1b(); + // path を絶対パスにして返す。 + // 相対パスならカレントディレクトリからのパスとする。 + static std::string AbsPath(const char *path); + // path を正規化して返す (下請け)。 // path が相対パスなら basedir を起点とする。 - std::string NormalizePath(const std::string& path, - const std::string& basedir) const; + static std::string NormalizePath(const std::string& path, + const std::string& basedir); // ヘルプメッセージを表示する void ShowHelp(bool all) const;