2 * gEDA - GNU Electronic Design Automation
3 * This file is a part of gerbv.
5 * Copyright (C) 2000-2003 Stefan Petersen (spe@stacken.kth.se)
6 * Copyright (C) 2008 Dan McMahill
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
26 \brief routines for loading and saving project files
33 typedef struct project_list_t
{
40 gerbv_HID_Attribute
*attr_list
;
42 struct project_list_t
*next
;
53 * Reads a project from a file and returns a linked list describing the project
55 project_list_t
*read_project_file(char const* filename
);
58 /* Writes a description of a project to a file
59 * that can be parsed by read_project above */
60 int write_project_file(gerbv_project_t
*gerbvProject
, char const* filename
, project_list_t
*project
);
63 project_destroy_project_list (project_list_t
*projectList
);
64 #endif /* PROJECT_H */