diff options
| author | 2015-03-24 21:53:40 +0100 | |
|---|---|---|
| committer | 2015-03-24 21:53:40 +0100 | |
| commit | 7ed106bc79c222586279d4351db1c5f005b0b1f3 (patch) | |
| tree | ff0efc466457d10431a85c3f23fc1a154dcdc26c /node/listaliasnode.h | |
| parent | 24d48effb863e458c00dcb1bea1ad5aa82309599 (diff) | |
| download | OneRoll-7ed106bc79c222586279d4351db1c5f005b0b1f3.tar.gz OneRoll-7ed106bc79c222586279d4351db1c5f005b0b1f3.zip | |
-Add listaliasnode to list all alias.
Diffstat (limited to 'node/listaliasnode.h')
| -rw-r--r-- | node/listaliasnode.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/node/listaliasnode.h b/node/listaliasnode.h new file mode 100644 index 0000000..d01d17a --- /dev/null +++ b/node/listaliasnode.h @@ -0,0 +1,33 @@ +#ifndef LISTALIASNODE_H +#define LISTALIASNODE_H + +#include "executionnode.h" +#include "result/stringresult.h" + + +class ListAliasNode : public ExecutionNode +{ +public: + ListAliasNode(QMap<QString,QString>* mapAlias); + /** + * @brief run + * @param previous + */ + virtual void run(ExecutionNode* previous = NULL); + + /** + * @brief toString + * @return + */ + virtual QString toString()const; + /** + * @brief getPriority + * @return + */ + virtual qint64 getPriority() const; + +private: + QMap<QString,QString>* m_mapAlias; +}; + +#endif // LISTALIASNODE_H |