mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
02ee8cbbe2
This is a neat simple app that can display the Serenity manual ^)
15 lines
339 B
C++
15 lines
339 B
C++
#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; }
|
|
};
|