Commit 817c6a4f authored by unknown's avatar unknown

Polishing: use the same coding style everywhere.

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