QtNovelUI/WordsIDE/route.h

27 lines
437 B
C++

#ifndef ROUTE_H
#define ROUTE_H
#include <qstringlist.h>
namespace Core {
class Route
{
public:
Route();
Route(const Route& other);
QStringList links() const;
Route operator|(const QString &node) const;
bool operator==(const Route &other) const;
static Route collect(const QList<QString> &list);
private:
QStringList links_store;
};
}
#endif // ROUTE_H