You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
451 B
28 lines
451 B
/*
|
|
* Copyright 2023 jacqueline <me@jacqueline.id.au>
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace console {
|
|
|
|
class Console {
|
|
public:
|
|
Console();
|
|
virtual ~Console();
|
|
|
|
auto Launch() -> void;
|
|
|
|
protected:
|
|
virtual auto GetStackSizeKiB() -> uint16_t { return 16; }
|
|
virtual auto RegisterExtraComponents() -> void {}
|
|
|
|
private:
|
|
auto RegisterCommonComponents() -> void;
|
|
};
|
|
|
|
} // namespace console
|
|
|