Eneboo - Documentación para desarrolladores
src/qt/qmake/generators/projectgenerator.h
Ir a la documentación de este archivo.
00001 /****************************************************************************
00002 ** $Id: qt/projectgenerator.h   3.3.8   edited Jan 11 14:37 $
00003 **
00004 ** Definition of ProjectGenerator class.
00005 **
00006 ** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
00007 **
00008 ** This file is part of qmake.
00009 **
00010 ** This file may be distributed under the terms of the Q Public License
00011 ** as defined by Trolltech ASA of Norway and appearing in the file
00012 ** LICENSE.QPL included in the packaging of this file.
00013 **
00014 ** This file may be distributed and/or modified under the terms of the
00015 ** GNU General Public License version 2 as published by the Free Software
00016 ** Foundation and appearing in the file LICENSE.GPL included in the
00017 ** packaging of this file.
00018 **
00019 ** Licensees holding valid Qt Enterprise Edition licenses may use this
00020 ** file in accordance with the Qt Commercial License Agreement provided
00021 ** with the Software.
00022 **
00023 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00024 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00025 **
00026 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00027 **   information about Qt Commercial License Agreements.
00028 ** See http://www.trolltech.com/qpl/ for QPL licensing information.
00029 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00030 **
00031 ** Contact info@trolltech.com if any conditions of this licensing are
00032 ** not clear to you.
00033 **
00034 **********************************************************************/
00035 #ifndef __PROJECTGENERATOR_H__
00036 #define __PROJECTGENERATOR_H__
00037 
00038 #include "makefile.h"
00039 
00040 class ProjectGenerator : public MakefileGenerator
00041 {
00042     bool init_flag;
00043     bool addFile(QString);
00044     bool addConfig(const QString &, bool add=TRUE);
00045     QString getWritableVar(const QString &, bool fixPath=TRUE);
00046 protected:
00047     virtual void init();
00048     virtual bool writeMakefile(QTextStream &);
00049 public:
00050     ProjectGenerator(QMakeProject *p);
00051     ~ProjectGenerator();
00052     virtual bool openOutput(QFile &) const;
00053 };
00054 
00055 inline ProjectGenerator::~ProjectGenerator()
00056 { }
00057 
00058 
00059 #endif /* __PROJECTGENERATOR_H__ */
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'