00001 /**************************************************************************** 00002 ** $Id: aextensionfactory.h,v 1.3 2006/08/23 07:53:03 app 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 AEXTENSIONFACTORY_H 00030 #define AEXTENSIONFACTORY_H 00031 00032 #ifndef QT_H 00033 #include "qstringlist.h" 00034 #endif // QT_H 00035 00036 class QString; 00037 class AExtension; 00038 00059 class ANANAS_EXPORT AExtensionFactory 00060 { 00061 public: 00062 #ifndef QT_NO_STRINGLIST 00063 static QStringList keys(); 00064 #endif 00065 static AExtension *create( const QString& ); 00066 }; 00067 00068 #endif //AEXTENSIONFACTORY_H