From d6a71adae7c90224e2a49f0edcd4fd52fa0a1b30 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Fri, 19 Aug 2005 23:28:03 +0000 Subject: Version 0.39-0test5. Bug fixes and more care about closing dirty windows and quitting. svn path=/trunk/; revision=3434 --- pd/src/m_glob.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pd/src/m_glob.c') diff --git a/pd/src/m_glob.c b/pd/src/m_glob.c index bcd9d6f3..aca3bf24 100644 --- a/pd/src/m_glob.c +++ b/pd/src/m_glob.c @@ -12,7 +12,7 @@ static t_class *maxclass; over. Some others are prototyped in m_imp.h as well. */ void glob_setfilename(void *dummy, t_symbol *name, t_symbol *dir); -void glob_quit(void *dummy); +void glob_verifyquit(void *dummy, t_floatarg f); void glob_dsp(void *dummy, t_symbol *s, int argc, t_atom *argv); void glob_meters(void *dummy, t_floatarg f); void glob_key(void *dummy, t_symbol *s, int ac, t_atom *av); @@ -79,6 +79,8 @@ void glob_init(void) class_addmethod(glob_pdobject, (t_method)glob_evalfile, gensym("open"), A_SYMBOL, A_SYMBOL, 0); class_addmethod(glob_pdobject, (t_method)glob_quit, gensym("quit"), 0); + class_addmethod(glob_pdobject, (t_method)glob_verifyquit, + gensym("verifyquit"), A_DEFFLOAT, 0); class_addmethod(glob_pdobject, (t_method)glob_foo, gensym("foo"), A_GIMME, 0); class_addmethod(glob_pdobject, (t_method)glob_dsp, gensym("dsp"), A_GIMME, 0); class_addmethod(glob_pdobject, (t_method)glob_meters, gensym("meters"), -- cgit v1.2.1