drill_stats.h

Go to the documentation of this file.
00001 /*
00002  * gEDA - GNU Electronic Design Automation
00003  * gerb_stats.h -- a part of gerbv.
00004  *
00005  *   Copyright (C) 2007 Stuart Brorson (sdb@cloud9.net)
00006  *
00007  * $Id$
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
00022  */
00023 
00029 #ifndef DRILL_STATS_H
00030 #define DRILL_STATS_H
00031 
00032 #include <gdk/gdk.h>      /* This imports gboolean type */
00033 
00034 
00035 /* ===================  Prototypes ================ */
00036 
00037 gboolean drill_stats_in_drill_list(gerbv_drill_list_t *drill_list, int drill_num);
00038 gerbv_drill_list_t *gerbv_drill_stats_new_drill_list(void);
00039 void drill_stats_add_to_drill_list(gerbv_drill_list_t *drill_list_in,
00040                                int drill_num_in, double drill_size_in,
00041                                char *drill_unit_in);
00042 void drill_stats_modify_drill_list(gerbv_drill_list_t *drill_list_in,
00043                                int drill_num_in, double drill_size_in,
00044                                char *drill_unit_in);
00045 void drill_stats_increment_drill_counter(gerbv_drill_list_t *drill_list_in,
00046                                     int drill_num_in);
00047 void drill_stats_add_to_drill_counter(gerbv_drill_list_t *drill_list_in,
00048                                   int drill_num_in,
00049                                   int increment);
00050 gerbv_error_list_t *gerbv_drill_stats_new_error_list(void);
00051 void drill_stats_add_error(gerbv_error_list_t *error_list_in,
00052                         int layer, const char *error_text, 
00053                         gerbv_message_type_t type);
00054 
00055 #endif /* DRILL_STATS_H */

Generated on Tue Aug 19 00:14:48 2008 for gerbv by  doxygen 1.5.6