Change copyrights from Nokia to Digia
[profile/ivi/qtdeclarative.git] / src / qml / qml / v8 / qqmlbuiltinfunctions_p.h
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/legal
5 **
6 ** This file is part of the QtQml module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.  For licensing terms and
14 ** conditions see http://qt.digia.com/licensing.  For further information
15 ** use the contact form at http://qt.digia.com/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 2.1 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL included in the
21 ** packaging of this file.  Please review the following information to
22 ** ensure the GNU Lesser General Public License version 2.1 requirements
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 **
25 ** In addition, as a special exception, Digia gives you certain additional
26 ** rights.  These rights are described in the Digia Qt LGPL Exception
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 **
29 ** GNU General Public License Usage
30 ** Alternatively, this file may be used under the terms of the GNU
31 ** General Public License version 3.0 as published by the Free Software
32 ** Foundation and appearing in the file LICENSE.GPL included in the
33 ** packaging of this file.  Please review the following information to
34 ** ensure the GNU General Public License version 3.0 requirements will be
35 ** met: http://www.gnu.org/copyleft/gpl.html.
36 **
37 **
38 ** $QT_END_LICENSE$
39 **
40 ****************************************************************************/
41
42 #ifndef QQMLBUILTINFUNCTIONS_P_H
43 #define QQMLBUILTINFUNCTIONS_P_H
44
45 //
46 //  W A R N I N G
47 //  -------------
48 //
49 // This file is not part of the Qt API.  It exists purely as an
50 // implementation detail.  This header file may change from version to
51 // version without notice, or even be removed.
52 //
53 // We mean it.
54 //
55
56 #include <QtCore/qglobal.h>
57 #include <private/qv8_p.h>
58
59 QT_BEGIN_NAMESPACE
60
61 namespace QQmlBuiltinFunctions
62 {
63 v8::Handle<v8::Value> gc(const v8::Arguments &args);
64 v8::Handle<v8::Value> consoleError(const v8::Arguments &args);
65 v8::Handle<v8::Value> consoleLog(const v8::Arguments &args);
66 v8::Handle<v8::Value> consoleProfile(const v8::Arguments &args);
67 v8::Handle<v8::Value> consoleProfileEnd(const v8::Arguments &args);
68 v8::Handle<v8::Value> consoleTime(const v8::Arguments &args);
69 v8::Handle<v8::Value> consoleTimeEnd(const v8::Arguments &args);
70 v8::Handle<v8::Value> consoleCount(const v8::Arguments &args);
71 v8::Handle<v8::Value> consoleTrace(const v8::Arguments &args);
72 v8::Handle<v8::Value> consoleWarn(const v8::Arguments &args);
73 v8::Handle<v8::Value> consoleAssert(const v8::Arguments &args);
74 v8::Handle<v8::Value> consoleException(const v8::Arguments &args);
75 v8::Handle<v8::Value> isQtObject(const v8::Arguments &args);
76 v8::Handle<v8::Value> rgba(const v8::Arguments &args);
77 v8::Handle<v8::Value> hsla(const v8::Arguments &args);
78 v8::Handle<v8::Value> colorEqual(const v8::Arguments &args);
79 v8::Handle<v8::Value> font(const v8::Arguments &args);
80 v8::Handle<v8::Value> rect(const v8::Arguments &args);
81 v8::Handle<v8::Value> point(const v8::Arguments &args);
82 v8::Handle<v8::Value> size(const v8::Arguments &args);
83 v8::Handle<v8::Value> vector2d(const v8::Arguments &args);
84 v8::Handle<v8::Value> vector3d(const v8::Arguments &args);
85 v8::Handle<v8::Value> vector4d(const v8::Arguments &args);
86 v8::Handle<v8::Value> quaternion(const v8::Arguments &args);
87 v8::Handle<v8::Value> matrix4x4(const v8::Arguments &args);
88 v8::Handle<v8::Value> lighter(const v8::Arguments &args);
89 v8::Handle<v8::Value> darker(const v8::Arguments &args);
90 v8::Handle<v8::Value> tint(const v8::Arguments &args);
91 v8::Handle<v8::Value> formatDate(const v8::Arguments &args);
92 v8::Handle<v8::Value> formatTime(const v8::Arguments &args);
93 v8::Handle<v8::Value> formatDateTime(const v8::Arguments &args);
94 v8::Handle<v8::Value> openUrlExternally(const v8::Arguments &args);
95 v8::Handle<v8::Value> fontFamilies(const v8::Arguments &args);
96 v8::Handle<v8::Value> md5(const v8::Arguments &args);
97 v8::Handle<v8::Value> btoa(const v8::Arguments &args);
98 v8::Handle<v8::Value> atob(const v8::Arguments &args);
99 v8::Handle<v8::Value> quit(const v8::Arguments &args);
100 v8::Handle<v8::Value> resolvedUrl(const v8::Arguments &args);
101 v8::Handle<v8::Value> createQmlObject(const v8::Arguments &args);
102 v8::Handle<v8::Value> createComponent(const v8::Arguments &args);
103 v8::Handle<v8::Value> qsTranslate(const v8::Arguments &args);
104 v8::Handle<v8::Value> qsTranslateNoOp(const v8::Arguments &args);
105 v8::Handle<v8::Value> qsTr(const v8::Arguments &args);
106 v8::Handle<v8::Value> qsTrNoOp(const v8::Arguments &args);
107 v8::Handle<v8::Value> qsTrId(const v8::Arguments &args);
108 v8::Handle<v8::Value> qsTrIdNoOp(const v8::Arguments &args);
109 v8::Handle<v8::Value> stringArg(const v8::Arguments &args);
110 v8::Handle<v8::Value> locale(const v8::Arguments &args);
111 v8::Handle<v8::Value> binding(const v8::Arguments &args);
112 }
113
114 QT_END_NAMESPACE
115
116 #endif // QQMLBUILTINFUNCTIONS_P_H