00001 /*-------------------------------------------------------------------- 00002 * 00003 * (C) Copyright Koninklijke Philips Electronics NV 2006. 00004 * All rights reserved. This software is licensed under the terms of 00005 * version 2.1 of the GNU Lesser General Public License as published 00006 * by the Free Software Foundation. For licensing and warranty 00007 * information, see the file COPYING in the main directory. 00008 * 00009 *------------------------------------------------------------------*/ 00010 00011 #ifndef COUNT_H 00012 #define COUNT_H 00013 00014 #include <list> 00015 00016 class Count 00017 { 00018 public: 00019 Count(const char* n=""); 00020 char* name; 00021 int count; 00022 }; 00023 00024 typedef std::list<Count> Counters; 00025 00026 void count(Counters& c, const char* i); 00027 00028 #endif