00001 /* -*- mode: c++ -*- 00002 */ 00003 #ifdef __GIFT_WITH_MYSQL__ 00004 /* 00005 00006 GIFT, a flexible content based image retrieval system. 00007 Copyright (C) 1998, 1999, 2000, 2001, 2002, CUI University of Geneva 00008 00009 Copyright (C) 2003, 2004 Bayreuth University 00010 2005 Bamberg University 00011 This program is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU General Public License as published by 00013 the Free Software Foundation; either version 2 of the License, or 00014 (at your option) any later version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 00025 */ 00026 // -*- mode: c++ -*- 00027 #ifndef _CAFIFMYSQL 00028 #define _CAFIFMYSQL 00029 #include "libGIFTAcInvertedFile/include/uses-declarations.h" 00030 #include "libMRML/include/CAccessorFactory.h" 00031 #include "libGIFTAcInvertedFile/include/CAcInvertedFile.h" 00032 #include "libGIFTAcInvertedFile/include/CAcIFFileSystem.h" 00033 00039 class CAFIFMySQL:public CAccessorFactory{ 00040 public: 00042 CAFIFMySQL(); 00044 CAccessor* makeAccessor(const CXMLElement& inConfiguration)const; 00045 }; 00046 #endif 00047 #endif