diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
tree | d4d1fded5c14350eb003a665ca8de500a0440cea /modules/commands/os_shutdown.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/os_shutdown.cpp')
-rw-r--r-- | modules/commands/os_shutdown.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/os_shutdown.cpp b/modules/commands/os_shutdown.cpp index 0c0acb0f8..4db78d11d 100644 --- a/modules/commands/os_shutdown.cpp +++ b/modules/commands/os_shutdown.cpp @@ -11,7 +11,8 @@ #include "module.h" -class CommandOSQuit : public Command +class CommandOSQuit + : public Command { public: CommandOSQuit(Module *creator) : Command(creator, "operserv/quit", 0, 0) @@ -39,7 +40,8 @@ public: } }; -class CommandOSRestart : public Command +class CommandOSRestart + : public Command { public: CommandOSRestart(Module *creator) : Command(creator, "operserv/restart", 0, 0) @@ -65,7 +67,8 @@ public: } }; -class CommandOSShutdown : public Command +class CommandOSShutdown + : public Command { public: CommandOSShutdown(Module *creator) : Command(creator, "operserv/shutdown", 0, 0) @@ -91,7 +94,8 @@ public: } }; -class OSShutdown : public Module +class OSShutdown + : public Module { CommandOSQuit commandosquit; CommandOSRestart commandosrestart; |