mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 10:02:31 -06:00
applet: Make constructor protected
Considering the class is abstract, there's no need to make the constructor public.
This commit is contained in:
parent
c4e4fa53d9
commit
d3f4fd1777
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,6 @@ namespace Applets {
|
||||||
class Applet {
|
class Applet {
|
||||||
public:
|
public:
|
||||||
virtual ~Applet() {}
|
virtual ~Applet() {}
|
||||||
Applet(Service::APT::AppletId id) : id(id) {}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an instance of the Applet subclass identified by the parameter.
|
* Creates an instance of the Applet subclass identified by the parameter.
|
||||||
|
@ -56,6 +55,8 @@ public:
|
||||||
virtual void Update() = 0;
|
virtual void Update() = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
explicit Applet(Service::APT::AppletId id) : id(id) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles the Applet start event, triggered from the application.
|
* Handles the Applet start event, triggered from the application.
|
||||||
* @param parameter Parameter data to handle.
|
* @param parameter Parameter data to handle.
|
||||||
|
|
Loading…
Reference in a new issue