Eneboo - Documentación para desarrolladores
|
00001 /********************************************************************** 00002 ** Copyright (C) 2000-2007 Trolltech ASA. All rights reserved. 00003 ** 00004 ** This file is part of Qt Designer. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file LICENSE.GPL included in the 00009 ** packaging of this file. 00010 ** 00011 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition 00012 ** licenses may use this file in accordance with the Qt Commercial License 00013 ** Agreement provided with the Software. 00014 ** 00015 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00016 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00017 ** 00018 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00019 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for 00020 ** information about Qt Commercial License Agreements. 00021 ** 00022 ** Contact info@trolltech.com if any conditions of this licensing are 00023 ** not clear to you. 00024 ** 00025 **********************************************************************/ 00026 00027 #ifndef SOURCETEMPLATEIFACE_H 00028 #define SOURCETEMPLATEIFACE_H 00029 00030 // 00031 // W A R N I N G -- PRIVATE INTERFACES 00032 // -------------------------------------- 00033 // 00034 // This file and the interfaces declared in the file are not 00035 // public. It exists for internal purpose. This header file and 00036 // interfaces may change from version to version (even binary 00037 // incompatible) without notice, or even be removed. 00038 // 00039 // We mean it. 00040 // 00041 // 00042 00043 #include <private/qcom_p.h> 00044 #include <qstring.h> 00045 00046 // {1b3446a4-1c71-424b-8789-1f34eb5697d8} 00047 #ifndef IID_SourceTemplate 00048 #define IID_SourceTemplate QUuid( 0x1b3446a4, 0x1c71, 0x424b, 0x87, 0x89, 0x1f, 0x34, 0xeb, 0x56, 0x97, 0xd8 ) 00049 #endif 00050 00051 struct SourceTemplateInterface : public QFeatureListInterface 00052 { 00053 struct Source 00054 { 00055 QString code; 00056 enum Type { FileName, Unnamed, Invalid } type; 00057 QString filename; 00058 QString extension; 00059 }; 00060 virtual Source create( const QString &templ, QUnknownInterface *appIface ) = 0; 00061 virtual QString language( const QString &templ ) const = 0; 00062 00063 }; 00064 00065 #endif