00001 /**************************************************************************** 00002 ** $Id: tefactory.h,v 1.2 2006/02/15 21:57:40 red75 Exp $ 00003 ** 00004 ** ... 00005 ** 00006 ** Created : 20060209 00007 ** 00008 ** Copyright (C) 2003-2006 Leader InfoTech. All rights reserved. 00009 ** 00010 ** This file is part of the Library of the Ananas 00011 ** automation accounting system. 00012 ** 00013 ** This file may be distributed and/or modified under the terms of the 00014 ** GNU General Public License version 2 as published by the Free Software 00015 ** Foundation and appearing in the file LICENSE.GPL included in the 00016 ** packaging of this file. 00017 ** 00018 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00019 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00020 ** 00021 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru 00022 ** See http://www.leaderit.ru/gpl/ for GPL licensing information. 00023 ** 00024 ** Contact org@leaderit.ru if any conditions of this licensing are 00025 ** not clear to you. 00026 ** 00027 **********************************************************************/ 00028 00029 #ifndef TEFACTORY_H 00030 #define TEFACTORY_H 00031 00032 #ifndef QT_H 00033 #include "qstringlist.h" 00034 #endif // QT_H 00035 00036 class QString; 00037 class TEBase; 00038 00039 class LIB_EXPORT TEFactory 00040 { 00041 public: 00042 #ifndef QT_NO_STRINGLIST 00043 static QStringList keys(); 00044 #endif 00045 static TEBase *create( const QString& ); 00046 }; 00047 00048 #endif //TEFACTORY_H