From: <le...@us...> - 2004-03-10 16:45:04
|
Update of /cvsroot/rtk/rtk/src/core/platform/epoc32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30664 Modified Files: lfind.cpp lfind.h Log Message: Added RTK-style source-headers. Index: lfind.cpp =================================================================== RCS file: /cvsroot/rtk/rtk/src/core/platform/epoc32/lfind.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lfind.cpp 10 Mar 2004 12:27:16 -0000 1.1 --- lfind.cpp 10 Mar 2004 16:19:01 -0000 1.2 *************** *** 1,6 **** #include <rtk/Export.h> #include <stdlib.h> ! /* This is a very ugly implementation of lfind. I had to make this because symbian lacks lfind. --- 1,47 ---- + /** + * + * RTK + * Fast and easy cross-platform GUI ToolKit. + * + * Copyright (C) 2001-200x RTK Development Team + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the slightly modified (see the "EXCEPTION NOTICE" part + * of RTK Library License) GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * and along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA . + * + * Also you should have received a copy of RTK Library License, if not please + * write an e-mail to some of RTK authors (listed in file AUTHORS). + * + * Bug reports: bu...@rt... + * Suggestions: rf...@rt... + ***************************************************************************/ + + /** + * $Source$ + ***** + * Authors (chronological order): + * Pal Szasz, sp...@at... (space§rtk.cx) + * Contributors (chronological order): + * Dejan Lekic, de...@nu... (dejan§rtk.cx) + ***** + * T0D0 List: + * - + ***************************************************************************/ + #include <rtk/Export.h> #include <stdlib.h> ! /** This is a very ugly implementation of lfind. I had to make this because symbian lacks lfind. *************** *** 17,18 **** --- 58,63 ---- return NULL; } + + /** + * $Id$ + ***************************************************************************/ Index: lfind.h =================================================================== RCS file: /cvsroot/rtk/rtk/src/core/platform/epoc32/lfind.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lfind.h 10 Mar 2004 12:27:16 -0000 1.1 --- lfind.h 10 Mar 2004 16:19:01 -0000 1.2 *************** *** 1,2 **** --- 1,60 ---- + /** + * + * RTK + * Fast and easy cross-platform GUI ToolKit. + * + * Copyright (C) 2001-200x RTK Development Team + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the slightly modified (see the "EXCEPTION NOTICE" part + * of RTK Library License) GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * and along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA . + * + * Also you should have received a copy of RTK Library License, if not please + * write an e-mail to some of RTK authors (listed in file AUTHORS). + * + * Bug reports: bu...@rt... + * Suggestions: rf...@rt... + ***************************************************************************/ + + /** + * $Source$ + ***** + * Authors (chronological order): + * Pal Szasz, sp...@at... (space§rtk.cx) + * Contributors (chronological order): + * Dejan Lekic, de...@nu... (dejan§rtk.cx) + ***** + * T0D0 List: + * Dejan: Maybe we should add functions in Rtk namespace here? :) + ***************************************************************************/ + + /** + * @file lfind.h + * + * Declaration of lfind, needed for Epoc32. + * + */ + + #ifndef _RTK_EPOC32_LFIND_H_ + #define _RTK_EPOC32_LFIND_H_ 1 + void *lfind(const void *key, const void *base, size_t *nmemb, size_t size, int(*compar)(const void *, const void *)); + + #endif + + /** + * $Id$ + ***************************************************************************/ + |