mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
Applications: Add a new Help app
This is a neat simple app that can display the Serenity manual ^)
This commit is contained in:
parent
6ec625d6f3
commit
02ee8cbbe2
Notes:
sideshowbarker
2024-07-19 11:55:04 +09:00
Author: https://github.com/bugaevc
Commit: 02ee8cbbe2
Pull-request: https://github.com/SerenityOS/serenity/pull/609
Reviewed-by: https://github.com/awesomekling ✅
12 changed files with 349 additions and 1 deletions
14
Applications/Help/ManualNode.h
Normal file
14
Applications/Help/ManualNode.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
#include <AK/String.h>
|
||||
|
||||
class ManualNode {
|
||||
public:
|
||||
virtual ~ManualNode() {}
|
||||
|
||||
virtual NonnullOwnPtrVector<ManualNode>& children() const = 0;
|
||||
virtual const ManualNode* parent() const = 0;
|
||||
virtual String name() const = 0;
|
||||
virtual bool is_page() const { return false; }
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue