]> 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 ea709d89af8e0f16c6752601d33519a11500c346..2b261e735493d97e8f5b1bbec4c2d128c2ea7363 100644 (file)
@@ -1,42 +1,15 @@
-/****************************************************************************
-** $Id: rs_commands.h 1307 2004-04-04 22:48:13Z andrew $
-**
-** Copyright (C) 2001-2003 RibbonSoft. All rights reserved.
-**
-** This file is part of the qcadlib Library project.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid qcadlib Professional Edition licenses may use
-** this file in accordance with the qcadlib Commercial License
-** Agreement provided with the Software.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.ribbonsoft.com for further details.
-**
-** Contact info@ribbonsoft.com if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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
  */
@@ -61,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__