diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /kxsldbg/kxsldbgpart/libxsldbg/debug.h | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/debug.h')
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/debug.h | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/debug.h b/kxsldbg/kxsldbgpart/libxsldbg/debug.h new file mode 100644 index 00000000..c38f37eb --- /dev/null +++ b/kxsldbg/kxsldbgpart/libxsldbg/debug.h @@ -0,0 +1,101 @@ + +/************************************************************************** + debug.h - declare major debugger functions + ------------------- + begin : Thur Jan 31 2002 + copyright : (C) 2001 by Keith Isdale + email : [email protected] + **************************************************************************/ + +/************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + **************************************************************************/ + +#ifndef XSL_DEBUG_H +#define XSL_DEBUG_H + +#ifdef __cplusplus +extern "C" { +#endif + + +#ifdef USE_GNOME_DOCS + +/** + * debugInit: + * + * Initialize debugger allocating any memory needed by debugger + * + * Returns 1 on success, + * 0 otherwise + */ +#else +#ifdef USE_KDE_DOCS + +/** + * Initialize debugger allocating any memory needed by debugger + * + * @returns 1 on success, + * 0 otherwise + */ +#endif +#endif + int debugInit(void); + + + +#ifdef USE_GNOME_DOCS + +/** + * debugFree: + * + * Free up any memory taken by debugger + */ +#else +#ifdef USE_KDE_DOCS + +/** + * Free up any memory taken by debugger + */ +#endif +#endif + void debugFree(void); + + +#ifdef USE_GNOME_DOCS + +/** + * debugGotControl: + * @reached: 1 if debugger has received control, -1 to read its value, + 0 to clear the flag + * + * Set flag that debuger has received control to value of @reached + * + * Returns 1 if any break point was reached previously, + * 0 otherwise + */ +#else +#ifdef USE_KDE_DOCS + +/** + * Set flag that debuger has received control to value of @p reached + * + * @returns 1 if any breakpoint was reached previously, + * 0 otherwise + * + * @param reached 1 if debugger has received control, -1 to read its value, + * 0 to clear the flag + */ +#endif +#endif + int debugGotControl(int reached); + +#ifdef __cplusplus +} +#endif +#endif |