Eneboo - Documentación para desarrolladores
src/qsa/src/kernel/quickenv.h
Ir a la documentación de este archivo.
00001 /****************************************************************************
00002 ** $Id: quickenv.h  1.1.4   edited 2006-02-23T15:39:57$
00003 **
00004 ** Copyright (C) 2001-2006 Trolltech AS.  All rights reserved.
00005 **
00006 ** This file is part of the Qt Script for Applications framework (QSA).
00007 **
00008 ** This file may be distributed and/or modified under the terms of the
00009 ** GNU General Public License version 2 as published by the Free Software
00010 ** Foundation and appearing in the file LICENSE.GPL included in the
00011 ** packaging of this file.
00012 **
00013 ** Licensees holding a valid Qt Script for Applications license may use
00014 ** this file in accordance with the Qt Script for Applications License
00015 ** Agreement provided with the Software.
00016 **
00017 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00018 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00019 **
00020 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00021 **   information about QSA Commercial License Agreements.
00022 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00023 **
00024 ** Contact info@trolltech.com if any conditions of this licensing are
00025 ** not clear to you.
00026 **
00027 *****************************************************************************/
00028 
00029 #ifndef QUICKENV_H
00030 #define QUICKENV_H
00031 
00032 #include "dlldefs.h"
00033 
00034 class QuickInterpreter;
00035 class QSEnv;
00036 class QSWrapperClass;
00037 class QSPointerClass;
00038 class QSVariantClass;
00039 class QSMapClass;
00040 class QSPointClass;
00041 class QSSizeClass;
00042 class QSRectClass;
00043 class QSColorClass;
00044 class QSFontClass;
00045 class QSByteArrayClass;
00046 class QSPixmapClass;
00047 class QSApplicationClass;
00048 
00049 // to be used with multiple inheritance of convenient
00050 // QuickInterpreter access
00051 class QUICKCORE_EXPORT QuickEnvClass
00052 {
00053 public:
00054   QuickEnvClass(QSEnv *e);
00055   QuickEnvClass(QuickInterpreter *i) : ip(i) { }
00056 
00057   QuickInterpreter *interpreter() const {
00058     return ip;
00059   }
00060   static QuickInterpreter *interpreter(QSEnv *e);
00061 
00062   QSPointClass *pointClass() const;
00063   QSSizeClass *sizeClass() const;
00064   QSRectClass *rectClass() const;
00065   QSByteArrayClass *byteArrayClass() const;
00066   QSPixmapClass *pixmapClass() const;
00067 
00068 private:
00069   QuickInterpreter *ip;
00070 };
00071 
00072 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'