Initial Commit
This commit is contained in:
15
Parts/OrGate.h
Normal file
15
Parts/OrGate.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef ORGATE_H
|
||||
#define ORGATE_H
|
||||
|
||||
#include "../Part.h"
|
||||
|
||||
class OrGate : public Part
|
||||
{
|
||||
public:
|
||||
OrGate(Logic* logic);
|
||||
|
||||
QVector<bool> compute(QVector<bool> inputs) override;
|
||||
QPainterPath symbolPainterPath(QRect limits) override;
|
||||
};
|
||||
|
||||
#endif // ORGATE_H
|
||||
Reference in New Issue
Block a user