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.
27 lines
481 B
27 lines
481 B
/*
|
|
* Copyright 2023 jacqueline <me@jacqueline.id.au>
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include "console.hpp"
|
|
#include "database.hpp"
|
|
|
|
namespace console {
|
|
|
|
class AppConsole : public Console {
|
|
public:
|
|
explicit AppConsole(std::weak_ptr<database::Database> database);
|
|
virtual ~AppConsole();
|
|
|
|
std::weak_ptr<database::Database> database_;
|
|
|
|
protected:
|
|
virtual auto RegisterExtraComponents() -> void;
|
|
};
|
|
|
|
} // namespace console
|
|
|