X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=command.h;fp=command.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=97b18899fc21a6cc8c73fb2c8bfd2cfb161b0ddb;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/command.h b/command.h deleted file mode 100644 index 97b1889..0000000 --- a/command.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef COMMAND_H -#define COMMAND_H - -#include -#include - -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 parTypes; - QList parOpts; - QStringList parComments; -}; - -#endif