Rename interpretor to interpreter.
[Faustine.git] / interpreter / preprocessor / faust-0.9.47mr3 / compiler / draw / schema / inverterSchema.h
diff --git a/interpreter/preprocessor/faust-0.9.47mr3/compiler/draw/schema/inverterSchema.h b/interpreter/preprocessor/faust-0.9.47mr3/compiler/draw/schema/inverterSchema.h
new file mode 100644 (file)
index 0000000..7b2c34f
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef INVERTERSCHEMA_H
+#define INVERTERSCHEMA_H
+
+
+#include "blockSchema.h"
+
+/**
+ * An inverter : a special symbol corresponding to '*(-1)'
+ * to create more compact diagrams
+ */
+class inverterSchema : public blockSchema
+{
+
+  public:
+    friend schema* makeInverterSchema (const string& color);
+
+    virtual void       draw(device& dev);
+  private:
+     inverterSchema (const string& color);
+
+};
+
+#endif // INVERTERSCHEMA_H