-/****************************************************************************
-** $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
*/
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__