diff options
Diffstat (limited to 'externals/grill/dyn/dyn_patcher.cpp')
-rw-r--r-- | externals/grill/dyn/dyn_patcher.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/externals/grill/dyn/dyn_patcher.cpp b/externals/grill/dyn/dyn_patcher.cpp deleted file mode 100644 index 820a3c14..00000000 --- a/externals/grill/dyn/dyn_patcher.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* -dyn - dynamical object management - -Copyright (c)2003-2004 Thomas Grill (gr@grrrr.org) -For information on usage and redistribution, and for a DISCLAIMER OF ALL -WARRANTIES, see the file, "license.txt," in this distribution. -*/ - -#include "dyn_proto.h" - -dyn_patcher::~dyn_patcher() -{ - // delete sub-objects - while(!objs.empty()) { - // objects delete themselves from the container! - Destroy(*objs.begin()); - } -} - -void dyn_patcher::Enumerate(dyn_enumfun fun,void *data) -{ - for(Objects::const_iterator it = objs.begin(); it != objs.end(); ++it) - if(fun((*it)->ident,data)) break; -} |