PCB-FPW developer documentation based on version: 0.0.11

Functions

fpw.h File Reference

Header file for fpw. More...

Go to the source code of this file.

Functions

int print_version ()
 Print the version of the footprintwizard to stderr.
int print_usage ()
 Print the usage message for the footprintwizard to stderr.
int main (int, char **)
 The CLI for the footprintwizard.

Detailed Description

Header file for fpw.

Author:
Copyright (C) 2007, 2008, 2009, 2010 by Bert Timmerman <bert.timmerman@xs4all.nl>

fpw (FootPrintWizard) is a program run from the Command Line Interface (CLI) for the creation of footprints files.
These footprint files can be used by the pcb layout application (see http://pcb.gpleda.org) to allow for the placement of parts on a pcb layout.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition in file fpw.h.


Function Documentation

int main ( int  argc,
char **  argv 
)

The CLI for the footprintwizard.

Returns:
EXIT_SUCCESS.

The CLI for the footprintwizard.

Returns:
EXIT_SUCCESS if successfull.
Parameters:
argc : number of arguments on CLI
argv : array of argument variables

Definition at line 139 of file fpw.c.

References about_dialog, cmdline_options(), create_about_dialog(), create_main_window(), debug, footprint_filename, footprint_name, fp_suffix, main_window, print_usage(), print_version(), read_footprintwizard_file(), silent, verbose, and write_footprint().

Here is the call graph for this function:

int print_usage (  ) 

Print the usage message for the footprintwizard to stderr.

Returns:
EXIT_SUCCESS.

Print the usage message for the footprintwizard to stderr.

Returns:
EXIT_SUCCESS.

Definition at line 109 of file fpw.c.

int print_version (  ) 

Print the version of the footprintwizard to stderr.

Returns:
EXIT_SUCCESS.

Print the version of the footprintwizard to stderr.

Returns:
EXIT_SUCCESS.

Definition at line 91 of file fpw.c.

Referenced by cmdline_options(), and main().