/*************************************************************************** $RCSfile: ctcardtrader.h,v $ ------------------- cvs : $Id: ctcardtrader.h,v 1.1 2003/04/24 01:43:28 aquamaniac Exp $ begin : Wed Apr 23 2003 copyright : (C) 2003 by Martin Preuss email : martin@libchipcard.de *************************************************************************** * * * This library is free software; you can redistribute it and/or * * modify it under the terms of the 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 along with this library; if not, write to the Free Software * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * * MA 02111-1307 USA * * * ***************************************************************************/ #ifndef CTCARDTRADER_H #define CTCARDTRADER_H #include #include /** * */ class CTCardTrader: public CTReaderTrader { protected: virtual CallBackResult callback(bool first); public: CTCardTrader(); CTCardTrader(bool next=false, unsigned int readerFlags=0, unsigned int readerFlagsMask=0, unsigned int status=0, unsigned int statusMask=CHIPCARD_STATUS_LOCKED_BY_OTHER, unsigned int statusDelta=0); virtual ~CTCardTrader(); CTError start(); CTError getNext(CTCard* &card, int timeout); }; #endif