activdbg.idl revision 3194da424708abdd288b28d96892b3a5f3f7df0b
/*
* Copyright 2008 Jacek Caban for CodeWeavers
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "ocidl.idl";
import "activscp.idl";
/* import "dbgprop.idl"; */
interface IDebugDocumentContext;
interface IRemoteDebugApplication;
interface IEnumDebugCodeContexts;
/* FIXME: */
interface IEnumDebugStackFrames;
interface IDebugStackFrame;
interface IApplicationDebugger;
interface IEnumRemoteDebugApplicationThreads;
interface IDebugApplicationNode;
interface IEnumDebugExpressionContexts;
interface IDebugApplicationThread;
interface IDebugSyncOperation;
interface IDebugAsyncOperation;
interface IDebugStackFrameSniffer;
interface IDebugThreadCall32;
interface IActiveScriptErrorDebug;
interface IProvideExpressionContexts;
typedef enum tagBREAKPOINT_STATE {
typedef enum tagBREAKREASON {
} BREAKREASON;
typedef enum tagBREAKRESUME_ACTION {
typedef enum tagDOCUMENTNAMETYPE {
typedef enum tagERRORRESUMEACTION {
{
SOURCETEXT_ATTR_KEYWORD = 0x01,
SOURCETEXT_ATTR_COMMENT = 0x02,
SOURCETEXT_ATTR_NONSOURCE = 0x04,
SOURCETEXT_ATTR_OPERATOR = 0x08,
SOURCETEXT_ATTR_NUMBER = 0x10,
SOURCETEXT_ATTR_STRING = 0x20,
};
/************************************************************
* interface IActiveScriptDebug32
*/
[
]
interface IActiveScriptDebug32 : IUnknown
{
}
[
]
interface IActiveScriptDebug64 : IUnknown
{
}
/************************************************************
* interface IDebugDocumentInfo
*/
[
]
interface IDebugDocumentInfo : IUnknown
{
}
/************************************************************
* interface IDebugDocument
*/
[
]
interface IDebugDocument : IDebugDocumentInfo
{
}
/************************************************************
* interface IDebugCodeContext
*/
[
]
interface IDebugCodeContext : IUnknown
{
}
/************************************************************
* interface IEnumDebugCodeContexts
*/
[
]
interface IEnumDebugCodeContexts : IUnknown
{
}
/************************************************************
* interface IDebugDocumentContext
*/
[
]
interface IDebugDocumentContext : IUnknown
{
}
/************************************************************
* interface IRemoteDebugApplicationThread
*/
[
]
interface IRemoteDebugApplicationThread : IUnknown
{
}
/************************************************************
* interface IRemoteDebugApplication
*/
[
]
interface IRemoteDebugApplication : IUnknown
{
}
/************************************************************
* interface IDebugApplication32
*/
[
]
interface IDebugApplication32 : IRemoteDebugApplication
{
cpp_quote("#undef GetCurrentThread")
BOOL FCanJitDebug();
}
/************************************************************
* interface IDebugApplication64
*/
[
]
interface IDebugApplication64 : IRemoteDebugApplication
{
BOOL FCanJitDebug();
}
/************************************************************
* interface IActiveScriptSiteDebug32
*/
[
]
interface IActiveScriptSiteDebug32 : IUnknown
{
}
/************************************************************
* interface IActiveScriptSiteDebug64
*/
[
]
interface IActiveScriptSiteDebug64 : IUnknown
{
}
cpp_quote("#ifndef DISABLE_ACTIVDBG_INTERFACE_WRAPPERS")
cpp_quote("#ifdef _WIN64")
cpp_quote("#define IActiveScriptDebug IActiveScriptDebug64")
cpp_quote("#define IID_IActiveScriptDebug IID_IActiveScriptDebug64")
cpp_quote("#define IActiveScriptSiteDebug IActiveScriptSiteDebug64")
cpp_quote("#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug64")
cpp_quote("#define IDebugApplication IDebugApplication64")
cpp_quote("#define IID_IDebugApplication IID_IDebugApplication64")
cpp_quote("#else")
cpp_quote("#define IActiveScriptDebug IActiveScriptDebug32")
cpp_quote("#define IID_IActiveScriptDebug IID_IActiveScriptDebug32")
cpp_quote("#define IActiveScriptSiteDebug IActiveScriptSiteDebug32")
cpp_quote("#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug32")
cpp_quote("#define IDebugApplication IDebugApplication32")
cpp_quote("#define IID_IDebugApplication IID_IDebugApplication32")
cpp_quote("#endif")
cpp_quote("#endif")