stratosphere: all in on enum class CommandId
This commit is contained in:
1 parent
67c0f4527e
commit
18ca8aaf5b
38 files changed
+665
-658
No files matched your search
@@ -18,16 +18,16 @@
|
||||
#include <switch.h>
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
enum PrivateCmd {
|
||||
Private_Cmd_GetFatalEvent = 0,
|
||||
};
|
||||
|
||||
class PrivateService final : public IServiceObject {
|
||||
private:
|
||||
enum class CommandId {
|
||||
GetFatalEvent = 0,
|
||||
};
|
||||
private:
|
||||
/* Actual commands. */
|
||||
Result GetFatalEvent(Out<CopiedHandle> out_h);
|
||||
public:
|
||||
DEFINE_SERVICE_DISPATCH_TABLE {
|
||||
MakeServiceCommandMeta<Private_Cmd_GetFatalEvent, &PrivateService::GetFatalEvent>(),
|
||||
MAKE_SERVICE_COMMAND_META(PrivateService, GetFatalEvent),
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user