| 1 | /****************************************************************************
|
|---|
| 2 | ** $Id: qscriptengine_p.h 2 2005-11-16 15:49:26Z dmik $
|
|---|
| 3 | **
|
|---|
| 4 | ** ???
|
|---|
| 5 | **
|
|---|
| 6 | ** Copyright (C) 1992-2003 Trolltech AS. All rights reserved.
|
|---|
| 7 | **
|
|---|
| 8 | ** This file is part of the kernel module of the Qt GUI Toolkit.
|
|---|
| 9 | **
|
|---|
| 10 | ** This file may be distributed and/or modified under the terms of the
|
|---|
| 11 | ** GNU General Public License version 2 as published by the Free Software
|
|---|
| 12 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
|---|
| 13 | ** packaging of this file.
|
|---|
| 14 | **
|
|---|
| 15 | ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
|---|
| 16 | ** licenses for Qt/Embedded may use this file in accordance with the
|
|---|
| 17 | ** Qt Embedded Commercial License Agreement provided with the Software.
|
|---|
| 18 | **
|
|---|
| 19 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|---|
| 20 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|---|
| 21 | **
|
|---|
| 22 | ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
|---|
| 23 | ** information about Qt Commercial License Agreements.
|
|---|
| 24 | ** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
|---|
| 25 | **
|
|---|
| 26 | ** Contact info@trolltech.com if any conditions of this licensing are
|
|---|
| 27 | ** not clear to you.
|
|---|
| 28 | **
|
|---|
| 29 | **********************************************************************/
|
|---|
| 30 |
|
|---|
| 31 | #ifndef SCRIPTENGINE_P_H
|
|---|
| 32 | #define SCRIPTENGINE_P_H
|
|---|
| 33 |
|
|---|
| 34 | #ifndef QT_H
|
|---|
| 35 | #include "qtextengine_p.h"
|
|---|
| 36 | #endif // QT_H
|
|---|
| 37 |
|
|---|
| 38 | class QString;
|
|---|
| 39 | class QOpenType;
|
|---|
| 40 | class QTextEngine;
|
|---|
| 41 |
|
|---|
| 42 | typedef void (*ShapeFunction)( int script, const QString &, int, int, QTextEngine *, QScriptItem * );
|
|---|
| 43 | typedef void (*AttributeFunction)( int script, const QString &, int, int, QCharAttributes * );
|
|---|
| 44 |
|
|---|
| 45 | struct q_scriptEngine {
|
|---|
| 46 | ShapeFunction shape;
|
|---|
| 47 | AttributeFunction charAttributes;
|
|---|
| 48 | };
|
|---|
| 49 |
|
|---|
| 50 | extern const q_scriptEngine scriptEngines[];
|
|---|
| 51 |
|
|---|
| 52 | #endif
|
|---|