X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdt%2Fdnotifier.h;h=3822df59883bdcf4f5df0467ef3cd15faecb8a96;hb=ebd302f4820855188df16ee8422a947751bf2c50;hp=118a2f4c62171cd5accabd0fb170f3304b7e9013;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/dt/dnotifier.h b/bertos/dt/dnotifier.h index 118a2f4c..3822df59 100644 --- a/bertos/dt/dnotifier.h +++ b/bertos/dt/dnotifier.h @@ -29,42 +29,20 @@ * Copyright 2005 Develer S.r.l. (http://www.develer.com/) * --> * - * \version $Id$ - * * \brief Notifier obj (interface). * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Francesco Sacchi */ -/*#* - *#* $Log$ - *#* Revision 1.2 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.1 2005/11/04 18:26:38 bernie - *#* Import into DevLib. - *#* - *#* Revision 1.4 2005/06/09 13:23:58 batt - *#* Add some comments. - *#* - *#* Revision 1.3 2005/06/08 17:32:33 batt - *#* Switch to new messaging system. - *#* - *#* Revision 1.2 2005/06/06 11:04:12 batt - *#* Add some comments. - *#* - *#* Revision 1.1 2005/05/26 08:32:53 batt - *#* Add new Develer widget system :) - *#* - *#*/ #ifndef DT_DNOTIFIER_H #define DT_DNOTIFIER_H #include + #include
-#include +#include //Fwd declaretion. struct DNotifier; @@ -151,8 +129,8 @@ INLINE void dnotify(DNotifier *target, dtag_t tag, dval_t val) INLINE void dnotify_targets(DNotifier *target, dtag_t tag, dval_t val) { DFilter *f; - if (!ISLISTEMPTY(&target->targets)) - FOREACHNODE(f, &target->targets) + if (!LIST_EMPTY(&target->targets)) + FOREACH_NODE(f, &target->targets) f->update(f, tag, val); }