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.
29 lines
450 B
29 lines
450 B
2 years ago
|
/*
|
||
|
* Copyright 2023 jacqueline <me@jacqueline.id.au>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-3.0-only
|
||
|
*/
|
||
|
|
||
2 years ago
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
namespace console {
|
||
|
|
||
|
class Console {
|
||
|
public:
|
||
|
Console();
|
||
|
virtual ~Console();
|
||
|
|
||
|
auto Launch() -> void;
|
||
|
|
||
|
protected:
|
||
1 year ago
|
virtual auto GetStackSizeKiB() -> uint16_t { return 8; }
|
||
2 years ago
|
virtual auto RegisterExtraComponents() -> void {}
|
||
|
|
||
|
private:
|
||
|
auto RegisterCommonComponents() -> void;
|
||
|
};
|
||
|
|
||
|
} // namespace console
|