summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/midiplugins/trigg/trigg.h
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
commite40fc849149dd97c248866a4a1d026dda5e57b62 (patch)
treeb12b358f3b3a0608001d30403358f8443118ec5f /muse_qt4_evolution/midiplugins/trigg/trigg.h
parent1bd4f2e8d9745cabb667b043171cad22c8577768 (diff)
clean3
Diffstat (limited to 'muse_qt4_evolution/midiplugins/trigg/trigg.h')
-rw-r--r--muse_qt4_evolution/midiplugins/trigg/trigg.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/muse_qt4_evolution/midiplugins/trigg/trigg.h b/muse_qt4_evolution/midiplugins/trigg/trigg.h
deleted file mode 100644
index c29a06a0..00000000
--- a/muse_qt4_evolution/midiplugins/trigg/trigg.h
+++ /dev/null
@@ -1,49 +0,0 @@
-//=========================================================
-// MusE
-// Linux Music Editor
-// $Id: filter.h,v 1.4 2005/06/12 08:18:37 wschweer Exp $
-//
-// filter - simple midi filter
-//
-// (C) Copyright 2005 Werner Schweer (ws@seh.de)
-//=========================================================
-
-#ifndef __TRIGG_H__
-#define __TRIGG_H__
-
-#include "../libmidiplugin/mempi.h"
-
-//---------------------------------------------------------
-// filter - simple midi filter
-//---------------------------------------------------------
-class Trigg : public Mempi {
- struct initData {
- int note;
- int velocity;
- } data;
- friend class TriggGui;
-
- TriggGui* gui;
-
- virtual void process(unsigned, unsigned, MidiEventList*, MidiEventList*);
-
- public:
- Trigg(const char* name, const MempiHost*);
- ~Trigg();
- virtual bool init();
-
- void setNote(int t) { data.note = t; }
- void setVelocity(int t) { data.velocity = t; }
-
- virtual bool hasGui() const { return true; }
- virtual bool guiVisible() const { return gui->isVisible(); }
- virtual void showGui(bool val) { gui->setShown(val); }
- virtual void getGeometry(int* x, int* y, int* w, int* h) const;
- virtual void setGeometry(int, int, int, int);
-
- virtual void getInitData(int*, const unsigned char**) const;
- virtual void setInitData(int, const unsigned char*);
- };
-
-#endif
-