aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/sortresult.h
blob: 8ce03a2a4875dcd748ffb031d5d31eb24a48166f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SORTRESULT_H
#define SORTRESULT_H

#include "executionnode.h"
#include "result/diceresult.h"

class SortResultNode : public ExecutionNode
{
public:
    SortResultNode();
    virtual void run(ExecutionNode*);


    void setSortAscending(bool asc);
    virtual QString toString()const;
    virtual qint64 getPriority() const;

private:
    bool m_ascending;
    DiceResult* m_diceResult;
};

#endif // SORTRESULT_H