certmanager/lib Library API Documentation

cryptplugwrapperlist.cpp

00001 /* -*- c++ -*- 00002 00003 CRYPTPLUG - an independent cryptography plug-in 00004 API. CryptPlugWrapperList holds any number of crypto plug-ins. 00005 00006 Copyright (C) 2001 by Klarälvdalens Datakonsult AB 00007 00008 CRYPTPLUG is free software; you can redistribute it and/or modify 00009 it under the terms of GNU General Public License as published by 00010 the Free Software Foundation; version 2 of the License. 00011 00012 CRYPTPLUG is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 00020 */ 00021 00022 #ifdef HAVE_CONFIG_H 00023 #include <config.h> 00024 #endif 00025 00026 #include "cryptplugwrapperlist.h" 00027 00028 CryptPlugWrapper * CryptPlugWrapperList::findForLibName( const QString & libName ) const 00029 { 00030 for ( QPtrListIterator<CryptPlugWrapper> it( *this ) ; it.current() ; ++it ) 00031 if ( (*it)->libName().find( libName, 0, false ) >= 0 ) 00032 return *it; 00033 return 0; 00034 }
KDE Logo
This file is part of the documentation for certmanager/lib Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:26 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003