aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-11-26 08:20:57 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-11-26 08:20:57 +0000
commit2a2ad47de6f7c9441efaa5b831deb3419952da12 (patch)
tree967f3c6da7074b39e9531467857ef16499afba1e
parent149eefeeb082494002238ee4cf4eb4ee8b759b1c (diff)
more TODO
svn path=/trunk/externals/iem/iemguts/; revision=10388
-rw-r--r--src/savebangs.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/savebangs.c b/src/savebangs.c
index d4ace75..af8b7fa 100644
--- a/src/savebangs.c
+++ b/src/savebangs.c
@@ -3,9 +3,9 @@
*
* propertybang - implementation file
*
- * copyleft (c) IOhannes m zm-bölnig-A
+ * copyleft (c) IOhannes m zmölnig
*
- * 2007:forum::f-bür::umläute:2007-A
+ * 2007:forum::für::umläute:2007
*
* institute of electronic music and acoustics (iem)
*
@@ -31,6 +31,12 @@
* TODO: how does this behave in sub-patches?
* -> BUG: the depth should _really_ refer to the abstraction-depth
* else we get weird duplicates (most likely due to the "$0" trick
+ *
+ * TODO: make [savebangs] do something on top-level
+ * that is: if the patch the [savebangs] is in gets saved, [savebangs] will fire
+ * think (a little) about how the args to savebang have to look like to make it compatible with the [canvas*] stiff
+ *
+ * TODO: maintain our own list of [savebangs] to be called per abstraction rather than using the $0-trick
*/
#include "m_pd.h"
@@ -169,12 +175,12 @@ static void *savebangs_new(t_floatarg f)
canvas=canvas->gl_owner;
depth--;
}
-
+
if(canvas) {
class=((t_gobj*)canvas)->g_pd;
x->x_d0=canvas_realizedollar(canvas, gensym("$0 savebangs"));
pd_bind(&x->x_obj.ob_pd, x->x_d0);
-
+
add_savefn(class);
class_setsavefn(class, savebangs_savefn);
} else {