|
gerbv
|
Go to the source code of this file.
Functions | |
| static char * | convert_path_separators (char *path, int conv_flag) |
| int | project_is_gerbv_project (const char *filename, gboolean *ret) |
| project_list_t * | read_project_file (char const *filename) |
Routines for loading and saving project files.
Definition in file project.c.
| int project_is_gerbv_project | ( | const char * | filename, |
| gboolean * | ret | ||
| ) |
Checks whether the supplied file look like a gerbv project by reading the first line and checking if it contains gerbv-file-version.
Returns 0 on success -1 on open error
Definition at line 906 of file project.c.
Referenced by open_files().
| project_list_t* read_project_file | ( | char const * | filename | ) |
Reads the content of a project file.
Global:
Background color,
global path,
corresponding pick and place file: labelled 'picknplace'
Per layer:
layer color,
layer filename
Definition at line 944 of file project.c.
References gerbv_project_t::execpath, and mainProject.