As Miklos Marton wrote:

> > If the file starts with "(gerbv-file-version", it's a project file;
> > otherwise treat it as a layer file.

> I have started to implement it. Do you want to check the file contents 
> or the extension check (*.gvp) could be sufficient?

Since there are no standardized filename suffices for Gerber and
Excellon files, I'd try to recognize *all* files by content rather
than by suffix.

Oh, if you are touching it: being able to handle Zip files would be
great. :)  Zip files are the common method to transfer an entire
manufacturing batch.

> > What if the same layer file had been opened multiple times (e.g. as
> > part of a panel)?  Reload all of them?

> I think when opening an already opened layer file a dialog should be 
> shown with the following options:
> - Reload the affected layer(s)
> - Open as a new layer
> - Skip

Sounds good to me.

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to