Hej,
Jag undrar om ni kan skicka mig ett huvud för källkod som visar hur det ska se ut i praktiken i en fri-programvara-source. Om möjligt ta ett riktigt case, så kan jag bara ändra uppgifterna och få till den layout som gäller.
Mvh Tomas Mattsson
"Tomas Mattsson" tom.mat@bredband.net writes:
Hej,
Jag undrar om ni kan skicka mig ett huvud för källkod som visar hur det ska se ut i praktiken i en fri-programvara-source. Om möjligt ta ett riktigt case, så kan jag bara ändra uppgifterna och få till den layout som gäller.
Hej Tomas! Om du använder GPLv3 så står det i licensen hur du bör göra, se 'How to Apply These Terms to Your New Programs' i http://www.gnu.org/licenses/gpl.html. Det är inget problem att ändra lite i texten för att anpassa till din kontext.
I ett av mina projekt, Shishi, kan en fil börja på det här sättet:
/* crypto.c --- Crypto functions. * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson * * This file is part of Shishi. * * Shishi 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 3 of the License, or * (at your option) any later version. * * Shishi 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 Shishi; if not, see http://www.gnu.org/licenses or write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth * Floor, Boston, MA 02110-1301, USA * */
Hoppas det hjälper, /Simon