Eneboo - Documentación para desarrolladores
|
00001 /********************************************************************** 00002 ** 00003 ** Copyright (C) 2005-2007 Trolltech ASA. All rights reserved. 00004 ** 00005 ** This file is part of Qt Designer. 00006 ** 00007 ** This file may be distributed and/or modified under the terms of the 00008 ** GNU General Public License version 2 as published by the Free Software 00009 ** Foundation and appearing in the file LICENSE.GPL included in the 00010 ** packaging of this file. 00011 ** 00012 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition 00013 ** licenses may use this file in accordance with the Qt Commercial License 00014 ** Agreement provided with the Software. 00015 ** 00016 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00017 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00018 ** 00019 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00020 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for 00021 ** information about Qt Commercial License Agreements. 00022 ** 00023 ** Contact info@trolltech.com if any conditions of this licensing are 00024 ** not clear to you. 00025 ** 00026 **********************************************************************/ 00027 00028 #ifndef PROJECTSETTINGSINTERFACEIMPL_H 00029 #define PROJECTSETTINGSINTERFACEIMPL_H 00030 00031 #include <projectsettingsiface.h> 00032 00033 class CppProjectSettings; 00034 00035 class ProjectSettingsInterfaceImpl : public ProjectSettingsInterface 00036 { 00037 public: 00038 ProjectSettingsInterfaceImpl( QUnknownInterface *outer = 0 ); 00039 00040 ulong addRef(); 00041 ulong release(); 00042 00043 ProjectSettings *projectSetting(); 00044 QStringList projectSettings() const; 00045 void connectTo( QUnknownInterface *appInterface ); 00046 void deleteProjectSettingsObject( ProjectSettings * ); 00047 QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface ); 00048 00049 private: 00050 QUnknownInterface *parent; 00051 int ref; 00052 CppProjectSettings *settingsTab; 00053 }; 00054 00055 #endif