| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2018 The Qt Company Ltd. |
| 4 | ** Contact: https://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtSCriptTools 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 The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/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 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #ifndef QSCRIPTDEBUGGERCONSOLEGLOBALOBJECT_P_H |
| 41 | #define QSCRIPTDEBUGGERCONSOLEGLOBALOBJECT_P_Hcxx . . $ `src/scripttools/debugging/qscriptdebuggerconsoleglobalobject_p.h:41:9`! |
| 42 | |
| 43 | // |
| 44 | // W A R N I N G |
| 45 | // ------------- |
| 46 | // |
| 47 | // This file is not part of the Qt API. It exists purely as an |
| 48 | // implementation detail. This header file may change from version to |
| 49 | // version without notice, or even be removed. |
| 50 | // |
| 51 | // We mean it. |
| 52 | // |
| 53 | |
| 54 | #include <QtCore/qobject.h> |
| 55 | |
| 56 | #include <QtCore/qstringlist.h> |
| 57 | |
| 58 | #include "qscriptdebuggerconsolecommandgroupdata_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata_p.h`/ |
| 59 | #include "qscriptdebuggerconsolecommand_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerconsolecommand_p.h`/ |
| 60 | |
| 61 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 62 | |
| 63 | class QScriptDebuggerCommandSchedulerInterfacecxx . . $ QScriptDebuggerCommandSchedulerInterface#; |
| 64 | class QScriptMessageHandlerInterfacecxx . . $ QScriptMessageHandlerInterface#; |
| 65 | class QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface#; |
| 66 | class QScriptDebuggerConsolecxx . . $ QScriptDebuggerConsole#; |
| 67 | class QScriptDebuggerValuecxx . . $ QScriptDebuggerValue#; |
| 68 | class QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#; |
| 69 | class QScriptBreakpointDatacxx . . $ QScriptBreakpointData#; |
| 70 | |
| 71 | class QScriptDebuggerConsoleGlobalObjectPrivatecxx . . $ QScriptDebuggerConsoleGlobalObjectPrivate#; |
| 72 | class Q_AUTOTEST_EXPORTcxx . . $ `<external>/15045578679651060896/qglobal.h:466:13`! QScriptDebuggerConsoleGlobalObjectcxx . . $ QScriptDebuggerConsoleGlobalObject# |
| 73 | : public QObjectcxx . . $ QObject# |
| 74 | { |
| 75 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 76 | public: |
| 77 | QScriptDebuggerConsoleGlobalObjectcxx . . $ QScriptDebuggerConsoleGlobalObject#QScriptDebuggerConsoleGlobalObject(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 78 | ~cxx . . $ QScriptDebuggerConsoleGlobalObject#`~QScriptDebuggerConsoleGlobalObject`(ced63f7c635d850d).QScriptDebuggerConsoleGlobalObjectcxx . . $ QScriptDebuggerConsoleGlobalObject#(); |
| 79 | |
| 80 | QScriptDebuggerCommandSchedulerInterfacecxx . . $ QScriptDebuggerCommandSchedulerInterface# *schedulercxx . . $ QScriptDebuggerConsoleGlobalObject#scheduler(80d89317ed956ed9).() const; |
| 81 | void setSchedulercxx . . $ QScriptDebuggerConsoleGlobalObject#setScheduler(f5b5f791bed51fc9).(QScriptDebuggerCommandSchedulerInterfacecxx . . $ QScriptDebuggerCommandSchedulerInterface# *scheduler); |
| 82 | |
| 83 | QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface# *responseHandlercxx . . $ QScriptDebuggerConsoleGlobalObject#responseHandler(492edb0b3ccc2d8c).() const; |
| 84 | void setResponseHandlercxx . . $ QScriptDebuggerConsoleGlobalObject#setResponseHandler(a3f905eaba2e58d4).(QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface# *responseHandler); |
| 85 | |
| 86 | QScriptMessageHandlerInterfacecxx . . $ QScriptMessageHandlerInterface# *messageHandlercxx . . $ QScriptDebuggerConsoleGlobalObject#messageHandler(5a73eb6d5aa78fa8).() const; |
| 87 | void setMessageHandlercxx . . $ QScriptDebuggerConsoleGlobalObject#setMessageHandler(be5dd84400410413).(QScriptMessageHandlerInterfacecxx . . $ QScriptMessageHandlerInterface# *messageHandler); |
| 88 | |
| 89 | QScriptDebuggerConsolecxx . . $ QScriptDebuggerConsole# *consolecxx . . $ QScriptDebuggerConsoleGlobalObject#console(7caff7f541b5a6aa).() const; |
| 90 | void setConsolecxx . . $ QScriptDebuggerConsoleGlobalObject#setConsole(54da9cacc7b6a870).(QScriptDebuggerConsolecxx . . $ QScriptDebuggerConsole# *console); |
| 91 | |
| 92 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 93 | // frontend |
| 94 | int scheduleInterruptcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleInterrupt(b126dc7c1de90089).(); |
| 95 | int scheduleContinuecxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleContinue(b126dc7c1de90089).(); |
| 96 | int scheduleStepIntocxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleStepInto(7864480464b09eea).(int count = 1); |
| 97 | int scheduleStepOvercxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleStepOver(7864480464b09eea).(int count = 1); |
| 98 | int scheduleStepOutcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleStepOut(b126dc7c1de90089).(); |
| 99 | int scheduleRunToLocationcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleRunToLocation(a664fe1f05d5cb93).(const QStringcxx . . $ QString# &fileName, int lineNumber); |
| 100 | int scheduleRunToLocationcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleRunToLocation(90123177bda81bd3).(qint64cxx . . $ qint64# scriptId, int lineNumber); |
| 101 | int scheduleForceReturncxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleForceReturn(f0089cc06c16ddf8).(int contextIndex, const QScriptDebuggerValuecxx . . $ QScriptDebuggerValue# &value); |
| 102 | |
| 103 | int scheduleSetBreakpointcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleSetBreakpoint(6eecdf9662318ec1).(const QScriptBreakpointDatacxx . . $ QScriptBreakpointData# &data); |
| 104 | int scheduleDeleteBreakpointcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleDeleteBreakpoint(7864480464b09eea).(int id); |
| 105 | int scheduleDeleteAllBreakpointscxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleDeleteAllBreakpoints(b126dc7c1de90089).(); |
| 106 | int scheduleGetBreakpointscxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetBreakpoints(b126dc7c1de90089).(); |
| 107 | int scheduleGetBreakpointDatacxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetBreakpointData(7864480464b09eea).(int id); |
| 108 | int scheduleSetBreakpointDatacxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleSetBreakpointData(5bb1a8207f361431).(int id, const QScriptBreakpointDatacxx . . $ QScriptBreakpointData# &data); |
| 109 | |
| 110 | int scheduleGetScriptscxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetScripts(b126dc7c1de90089).(); |
| 111 | int scheduleGetScriptDatacxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetScriptData(a070d6d14e988596).(qint64cxx . . $ qint64# id); |
| 112 | int scheduleScriptsCheckpointcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleScriptsCheckpoint(b126dc7c1de90089).(); |
| 113 | int scheduleGetScriptsDeltacxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetScriptsDelta(b126dc7c1de90089).(); |
| 114 | int scheduleResolveScriptcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleResolveScript(645d6210e0be3a78).(const QStringcxx . . $ QString# &fileName); |
| 115 | |
| 116 | int scheduleGetBacktracecxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetBacktrace(b126dc7c1de90089).(); |
| 117 | int scheduleGetThisObjectcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetThisObject(7864480464b09eea).(int contextIndex); |
| 118 | int scheduleGetActivationObjectcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetActivationObject(7864480464b09eea).(int contextIndex); |
| 119 | int scheduleGetContextCountcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetContextCount(b126dc7c1de90089).(); |
| 120 | int scheduleGetContextInfocxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetContextInfo(7864480464b09eea).(int contextIndex); |
| 121 | |
| 122 | int scheduleNewScriptValueIteratorcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleNewScriptValueIterator(b054a50aa2c6b525).(const QScriptDebuggerValuecxx . . $ QScriptDebuggerValue# &object); |
| 123 | int scheduleGetPropertiesByIteratorcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleGetPropertiesByIterator(9b79fb6aee4c0440).(int id, int count); |
| 124 | int scheduleDeleteScriptValueIteratorcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleDeleteScriptValueIterator(7864480464b09eea).(int id); |
| 125 | |
| 126 | int scheduleEvaluatecxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleEvaluate(2db804e1137cdb08).(int contextIndex, const QStringcxx . . $ QString# &program, |
| 127 | const QStringcxx . . $ QString# &fileName = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 128 | int lineNumber = 1); |
| 129 | |
| 130 | int scheduleScriptValueToStringcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleScriptValueToString(b054a50aa2c6b525).(const QScriptDebuggerValuecxx . . $ QScriptDebuggerValue# &value); |
| 131 | |
| 132 | int scheduleClearExceptionscxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleClearExceptions(b126dc7c1de90089).(); |
| 133 | |
| 134 | int scheduleCommandcxx . . $ QScriptDebuggerConsoleGlobalObject#scheduleCommand(58e75bf5ce63031d).(const QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand# &command); |
| 135 | |
| 136 | // message handler |
| 137 | void messagecxx . . $ QScriptDebuggerConsoleGlobalObject#message(77281d91b30eab7e).(const QStringcxx . . $ QString# &text, const QStringcxx . . $ QString# &fileName = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 138 | int lineNumber = -1, int columnNumber = -1); |
| 139 | void warningcxx . . $ QScriptDebuggerConsoleGlobalObject#warning(77281d91b30eab7e).(const QStringcxx . . $ QString# &text, const QStringcxx . . $ QString# &fileName = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 140 | int lineNumber = -1, int columnNumber = -1); |
| 141 | void errorcxx . . $ QScriptDebuggerConsoleGlobalObject#error(77281d91b30eab7e).(const QStringcxx . . $ QString# &text, const QStringcxx . . $ QString# &fileName = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 142 | int lineNumber = -1, int columnNumber = -1); |
| 143 | |
| 144 | // console state |
| 145 | int getCurrentFrameIndexcxx . . $ QScriptDebuggerConsoleGlobalObject#getCurrentFrameIndex(455f465bc33b4cdf).() const; |
| 146 | void setCurrentFrameIndexcxx . . $ QScriptDebuggerConsoleGlobalObject#setCurrentFrameIndex(d4f767463ce0a6b3).(int index); |
| 147 | qint64cxx . . $ qint64# getCurrentScriptIdcxx . . $ QScriptDebuggerConsoleGlobalObject#getCurrentScriptId(98833e9ab7de59a4).() const; |
| 148 | void setCurrentScriptIdcxx . . $ QScriptDebuggerConsoleGlobalObject#setCurrentScriptId(35cb52607f6af42f).(qint64cxx . . $ qint64# id); |
| 149 | qint64cxx . . $ qint64# getSessionIdcxx . . $ QScriptDebuggerConsoleGlobalObject#getSessionId(98833e9ab7de59a4).() const; |
| 150 | int getCurrentLineNumbercxx . . $ QScriptDebuggerConsoleGlobalObject#getCurrentLineNumber(455f465bc33b4cdf).() const; |
| 151 | void setCurrentLineNumbercxx . . $ QScriptDebuggerConsoleGlobalObject#setCurrentLineNumber(d4f767463ce0a6b3).(int lineNumber); |
| 152 | |
| 153 | // command introspection |
| 154 | QScriptDebuggerConsoleCommandGroupMapcxx . . $ QScriptDebuggerConsoleCommandGroupMap# getCommandGroupscxx . . $ QScriptDebuggerConsoleGlobalObject#getCommandGroups(b5c15cf08127f0f8).() const; |
| 155 | QScriptDebuggerConsoleCommandcxx . . $ QScriptDebuggerConsoleCommand# *findCommandcxx . . $ QScriptDebuggerConsoleGlobalObject#findCommand(c5e30f28890cffb).(const QStringcxx . . $ QString# &command) const; |
| 156 | QScriptDebuggerConsoleCommandListcxx . . $ QScriptDebuggerConsoleCommandList# getCommandsInGroupcxx . . $ QScriptDebuggerConsoleGlobalObject#getCommandsInGroup(bb8ae4bb006e0772).(const QStringcxx . . $ QString# &name) const; |
| 157 | QStringListcxx . . $ QStringList# getCommandCompletionscxx . . $ QScriptDebuggerConsoleGlobalObject#getCommandCompletions(50afb52245723b61).(const QStringcxx . . $ QString# &prefix) const; |
| 158 | |
| 159 | bool checkSyntaxcxx . . $ QScriptDebuggerConsoleGlobalObject#checkSyntax(e1defb592416720d).(const QStringcxx . . $ QString# &program); |
| 160 | |
| 161 | void setEvaluateActioncxx . . $ QScriptDebuggerConsoleGlobalObject#setEvaluateAction(d4f767463ce0a6b3).(int action); |
| 162 | |
| 163 | private: |
| 164 | Q_DECLARE_PRIVATEcxx . . $ QScriptDebuggerConsoleGlobalObject#d_func(8dfa527a6b81fdb6).(QScriptDebuggerConsoleGlobalObject) |
| 165 | Q_DISABLE_COPYcxx . . $ QScriptDebuggerConsoleGlobalObject#`operator=`(8ea3c36181050295).(QScriptDebuggerConsoleGlobalObject) |
| 166 | }; |
| 167 | |
| 168 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 169 | |
| 170 | #endif |