Commit 817c6a4f authored by unknown's avatar unknown

Polishing: use the same coding style everywhere.

parent 4da80772
......@@ -19,7 +19,7 @@
#pragma once
#include "windowsservice.h"
class IMService : public WindowsService
class IMService: public WindowsService
{
public:
IMService(void);
......
......@@ -51,7 +51,7 @@ class Show_instances: public Command
Grammar: FLUSH INSTANCES
*/
class Flush_instances : public Command
class Flush_instances: public Command
{
public:
int execute(st_net *net, ulong connection_id);
......@@ -62,7 +62,7 @@ class Flush_instances : public Command
Abstract class for Instance-specific commands.
*/
class Abstract_instance_cmd : public Command
class Abstract_instance_cmd: public Command
{
public:
Abstract_instance_cmd(const LEX_STRING *instance_name_arg);
......@@ -98,7 +98,7 @@ class Abstract_instance_cmd : public Command
Grammar: SHOW INSTANCE STATUS <instance_name>
*/
class Show_instance_status : public Abstract_instance_cmd
class Show_instance_status: public Abstract_instance_cmd
{
public:
Show_instance_status(const LEX_STRING *instance_name_arg);
......@@ -118,7 +118,7 @@ class Show_instance_status : public Abstract_instance_cmd
Grammar: SHOW INSTANCE OPTIONS <instance_name>
*/
class Show_instance_options : public Abstract_instance_cmd
class Show_instance_options: public Abstract_instance_cmd
{
public:
Show_instance_options(const LEX_STRING *instance_name_arg);
......@@ -138,7 +138,7 @@ class Show_instance_options : public Abstract_instance_cmd
Grammar: START INSTANCE <instance_name>
*/
class Start_instance : public Abstract_instance_cmd
class Start_instance: public Abstract_instance_cmd
{
public:
Start_instance(const LEX_STRING *instance_name_arg);
......@@ -154,7 +154,7 @@ class Start_instance : public Abstract_instance_cmd
Grammar: STOP INSTANCE <instance_name>
*/
class Stop_instance : public Abstract_instance_cmd
class Stop_instance: public Abstract_instance_cmd
{
public:
Stop_instance(const LEX_STRING *instance_name_arg);
......@@ -170,7 +170,7 @@ class Stop_instance : public Abstract_instance_cmd
Grammar: CREATE INSTANCE <instance_name> [<options>]
*/
class Create_instance : public Command
class Create_instance: public Command
{
public:
Create_instance(const LEX_STRING *instance_name_arg);
......@@ -205,7 +205,7 @@ class Create_instance : public Command
is removed from the instance map.
*/
class Drop_instance : public Abstract_instance_cmd
class Drop_instance: public Abstract_instance_cmd
{
public:
Drop_instance(const LEX_STRING *instance_name_arg);
......@@ -222,7 +222,7 @@ class Drop_instance : public Abstract_instance_cmd
SHOW <instance_name> LOG {ERROR | SLOW | GENERAL} size[, offset_from_end]
*/
class Show_instance_log : public Abstract_instance_cmd
class Show_instance_log: public Abstract_instance_cmd
{
public:
Show_instance_log(const LEX_STRING *instance_name_arg,
......@@ -249,7 +249,7 @@ class Show_instance_log : public Abstract_instance_cmd
Grammar: SHOW <instance_name> LOG FILES
*/
class Show_instance_log_files : public Abstract_instance_cmd
class Show_instance_log_files: public Abstract_instance_cmd
{
public:
Show_instance_log_files(const LEX_STRING *instance_name_arg);
......@@ -270,7 +270,7 @@ class Show_instance_log_files : public Abstract_instance_cmd
class Instance_options_list;
class Abstract_option_cmd : public Command
class Abstract_option_cmd: public Command
{
public:
~Abstract_option_cmd();
......@@ -309,7 +309,7 @@ class Abstract_option_cmd : public Command
Grammar: SET instance_name.option[=option_value][, ...]
*/
class Set_option : public Abstract_option_cmd
class Set_option: public Abstract_option_cmd
{
protected:
virtual bool parse_args(const char **text);
......@@ -339,7 +339,7 @@ class Unset_option: public Abstract_option_cmd
just returns NULL.
*/
class Syntax_error : public Command
class Syntax_error: public Command
{
public:
int execute(st_net *net, ulong connection_id);
......
......@@ -65,7 +65,7 @@ class User_management_cmd
option.
*************************************************************************/
class Print_password_line_cmd : public User_management_cmd
class Print_password_line_cmd: public User_management_cmd
{
public:
Print_password_line_cmd()
......@@ -80,7 +80,7 @@ class Print_password_line_cmd : public User_management_cmd
Add_user_cmd: support for --add-user command-line option.
*************************************************************************/
class Add_user_cmd : public User_management_cmd
class Add_user_cmd: public User_management_cmd
{
public:
Add_user_cmd()
......@@ -95,7 +95,7 @@ class Add_user_cmd : public User_management_cmd
Drop_user_cmd: support for --drop-user command-line option.
*************************************************************************/
class Drop_user_cmd : public User_management_cmd
class Drop_user_cmd: public User_management_cmd
{
public:
Drop_user_cmd()
......@@ -110,7 +110,7 @@ class Drop_user_cmd : public User_management_cmd
Edit_user_cmd: support for --edit-user command-line option.
*************************************************************************/
class Edit_user_cmd : public User_management_cmd
class Edit_user_cmd: public User_management_cmd
{
public:
Edit_user_cmd()
......@@ -125,7 +125,7 @@ class Edit_user_cmd : public User_management_cmd
Clean_db_cmd: support for --clean-db command-line option.
*************************************************************************/
class Clean_db_cmd : public User_management_cmd
class Clean_db_cmd: public User_management_cmd
{
public:
Clean_db_cmd()
......@@ -140,7 +140,7 @@ class Clean_db_cmd : public User_management_cmd
Check_db_cmd: support for --check-db command-line option.
*************************************************************************/
class Check_db_cmd : public User_management_cmd
class Check_db_cmd: public User_management_cmd
{
public:
Check_db_cmd()
......@@ -155,7 +155,7 @@ class Check_db_cmd : public User_management_cmd
List_users_cmd: support for --list-users command-line option.
*************************************************************************/
class List_users_cmd : public User_management_cmd
class List_users_cmd: public User_management_cmd
{
public:
List_users_cmd()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment