Index: Makefile =================================================================== --- Makefile (nonexistent) +++ Makefile (revision 23992) @@ -0,0 +1,6 @@ +all: + cd ../../src && $(MAKE) mod_lib_vfs + +clean: + rm *.o *.so 2>/dev/null ; true + Index: Plug.tmpasm =================================================================== --- Plug.tmpasm (nonexistent) +++ Plug.tmpasm (revision 23992) @@ -0,0 +1,10 @@ +put /local/pcb/mod {lib_vfs} +put /local/pcb/mod/OBJS [@ + $(PLUGDIR)/lib_vfs/lib_vfs.o +@] + +switch /local/pcb/lib_vfs/controls + case {buildin} include /local/pcb/tmpasm/buildin; end; + case {plugin} include /local/pcb/tmpasm/plugin; end; + case {disable} include /local/pcb/tmpasm/disable; end; +end Index: lib_vfs.c =================================================================== --- lib_vfs.c (nonexistent) +++ lib_vfs.c (revision 23992) @@ -0,0 +1,44 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 2019 Tibor 'Igor2' Palinkas + * + * 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. + * + * Contact: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include "config.h" + +#include "board.h" +#include "data.h" +#include "plugins.h" + + +int pplg_check_ver_lib_vfs(int ver_needed) { return 0; } + +void pplg_uninit_lib_vfs(void) +{ +} + +int pplg_init_lib_vfs(void) +{ + PCB_API_CHK_VER; + return 0; +} Index: lib_vfs.h =================================================================== --- lib_vfs.h (nonexistent) +++ lib_vfs.h (revision 23992) @@ -0,0 +1,26 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 2019 Tibor 'Igor2' Palinkas + * + * 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. + * + * Contact: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + Index: lib_vfs.pup =================================================================== --- lib_vfs.pup (nonexistent) +++ lib_vfs.pup (revision 23992) @@ -0,0 +1,5 @@ +$class lib +$short fetch data for VFS export +$long Retrieve, sort and query data under VFS export plugins +$state works +default disable-all