]> Shamusworld >> Repos - architektonas/blobdiff - src/mainapp/commands.h
In the middle of chasing down MDI not activating bug, renaming of Graphic to
[architektonas] / src / mainapp / commands.h
index 12c713cbcc0347aaed4fb59b0251e47a547a697e..2b261e735493d97e8f5b1bbec4c2d128c2ea7363 100644 (file)
@@ -1,16 +1,15 @@
-#ifndef RS_COMMANDS_H
-#define RS_COMMANDS_H
+#ifndef __COMMANDS_H__
+#define __COMMANDS_H__
 
 #include <QtCore>
-#include "rs.h"
+#include "enums.h"
 
-#define RS_COMMANDS Commands::instance()
+#define COMMANDS Commands::instance()
 
 /**
- * Class which holds all commands for the command line. This
- * is separated in this module to alow the use of different
- * languages for the gui and the command interface.
- * Implemented as singleton.
+ * Class which holds all commands for the command line. This is separated in
+ * this module to alow the use of different languages for the GUI and the
+ * command interface. Implemented as singleton.
  *
  * @author Andrew Mustun
  */
@@ -35,10 +34,8 @@ class Commands: public QObject
        private:
                Commands();
                ~Commands();
-//             Q3Dict<RS2::ActionType> mainCommands;
-//             Q3Dict<RS2::ActionType> shortCommands;
                QMultiHash<QString, RS2::ActionType *> mainCommands;
                QMultiHash<QString, RS2::ActionType *> shortCommands;
 };
 
-#endif
+#endif // __COMMANDS_H__