]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - command.h
New upstream version 2.9.22
[sven/vym.git] / command.h
diff --git a/command.h b/command.h
deleted file mode 100644 (file)
index 97b1889..0000000
--- a/command.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef COMMAND_H
-#define COMMAND_H
-
-#include <QColor>
-#include <QStringList>
-
-class Command
-{
-public:
-    enum SelectionType {Any, TreeItem, Branch, BranchLike, Image, BranchOrImage, XLink}; 
-    enum ParameterType {Undefined,String, Int, Double, Color, Bool};
-    Command (const QString &n, SelectionType st);
-    QString getName();
-    QString getDescription();
-    QString getDescriptionLaTeX();
-    void addPar (ParameterType t, bool opt, const QString &c=QString() );
-    int parCount();
-    ParameterType getParType (int n);
-    QString getParTypeName (int n);
-    SelectionType getSelectionType ();
-    QString getSelectionTypeName ();
-    bool isParOptional (int n);
-    QString getParComment(int n);
-
-private:
-       QString name;
-       SelectionType selectionType;
-       QList <ParameterType> parTypes;
-       QList <bool> parOpts;
-       QStringList parComments;
-};
-
-#endif