APT/Applet: move applet managing into its own class
This commit is contained in:
parent
44d07574b1
commit
92f0064b47
17 changed files with 773 additions and 623 deletions
|
@ -12,7 +12,8 @@ namespace Applets {
|
|||
|
||||
class Mint final : public Applet {
|
||||
public:
|
||||
explicit Mint(Service::APT::AppletId id) : Applet(id) {}
|
||||
explicit Mint(Service::APT::AppletId id, std::weak_ptr<Service::APT::AppletManager> manager)
|
||||
: Applet(id, std::move(manager)) {}
|
||||
|
||||
ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override;
|
||||
ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue