00001 /**************************************************************************** 00002 ** $Id: aextensioninterface_p.h,v 1.2 2006/02/09 13:15:50 leader Exp $ 00003 ** 00004 ** Definition of AExtensionInterface class 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 AEXTENSIONINTERFACE_H 00030 #define AEXTENSIONINTERFACE_H 00031 00032 #include <ananasglobal.h> 00033 #ifndef QT_H 00034 #include <private/qcom_p.h> 00035 #endif // QT_H 00036 00037 #ifndef QT_NO_COMPONENT 00038 00039 // {EDDD5AD8-DF3C-400c-A711-163B72FE5F61} 00040 #ifndef IID_AExtensionFactory 00041 #define IID_AExtensionFactory QUuid(0xeddd5ad8, 0xdf3c, 0x400c, 0xa7, 0x11, 0x16, 0x3b, 0x72, 0xfe, 0x5f, 0x61) 00042 #endif 00043 00044 class AExtension; 00045 00046 struct ANANAS_EXPORT AExtensionFactoryInterface : public QFeatureListInterface 00047 { 00048 virtual AExtension* create( const QString& name ) = 0; 00049 }; 00050 00051 #endif //QT_NO_COMPONENT 00052 #endif // AEXTENSIONINTERFACE_P_H