2014-12-27 21:50:51 +08:00
|
|
|
#ifndef SWITCH_H
|
|
|
|
|
#define SWITCH_H
|
2014-12-28 16:40:57 +08:00
|
|
|
#include <QObject>
|
2014-12-27 21:50:51 +08:00
|
|
|
#include <QPair>
|
|
|
|
|
#include "branch.h"
|
|
|
|
|
class Switch:public Branch
|
|
|
|
|
{
|
|
|
|
|
public:
|
2015-01-20 21:24:33 +08:00
|
|
|
Switch(const QPair<QString, QString> &fromTo,const QString& id,QObject *parent=0);
|
|
|
|
|
QString id;
|
2014-12-27 21:50:51 +08:00
|
|
|
protected:
|
|
|
|
|
virtual void extract();
|
|
|
|
|
|
2015-01-20 21:24:33 +08:00
|
|
|
|
2014-12-27 21:50:51 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // SWITCH_H
|