[1] | 1 | /** @file
|
---|
| 2 | * DBGGUI - The VirtualBox Debugger GUI.
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | /*
|
---|
[8155] | 6 | * Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
[1] | 7 | *
|
---|
| 8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
| 9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
| 10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
[5999] | 11 | * General Public License (GPL) as published by the Free Software
|
---|
| 12 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
| 13 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
| 14 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
| 15 | *
|
---|
| 16 | * The contents of this file may alternatively be used under the terms
|
---|
| 17 | * of the Common Development and Distribution License Version 1.0
|
---|
| 18 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
| 19 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
| 20 | * CDDL are applicable instead of those of the GPL.
|
---|
| 21 | *
|
---|
| 22 | * You may elect to license modified versions of this file under the
|
---|
| 23 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
[8155] | 24 | *
|
---|
| 25 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
| 26 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
| 27 | * additional information or have any questions.
|
---|
[1] | 28 | */
|
---|
| 29 |
|
---|
[3632] | 30 | #ifndef ___VBox_dbggui_h
|
---|
| 31 | #define ___VBox_dbggui_h
|
---|
[1] | 32 |
|
---|
[3638] | 33 | #if defined(RT_OS_WINDOWS)
|
---|
[1] | 34 | # include <VirtualBox.h>
|
---|
| 35 | #else
|
---|
| 36 | # include <VirtualBox_XPCOM.h>
|
---|
| 37 | #endif
|
---|
| 38 |
|
---|
| 39 | #include <VBox/types.h>
|
---|
| 40 |
|
---|
| 41 | __BEGIN_DECLS
|
---|
| 42 |
|
---|
| 43 | /** @defgroup grp_dbggui VirtualBox Debugger GUI
|
---|
| 44 | * @{
|
---|
| 45 | */
|
---|
| 46 |
|
---|
| 47 | /** Pointer to the debugger GUI instance structure. */
|
---|
| 48 | typedef struct DBGGUI *PDBGGUI;
|
---|
| 49 |
|
---|
| 50 | /**
|
---|
| 51 | * Creates the debugger GUI.
|
---|
| 52 | *
|
---|
| 53 | * @returns VBox status code.
|
---|
| 54 | * @param pSession The VirtualBox session.
|
---|
| 55 | * @param ppGui Where to store the pointer to the debugger instance.
|
---|
| 56 | */
|
---|
| 57 | DBGDECL(int) DBGGuiCreate(ISession *pSession, PDBGGUI *ppGui);
|
---|
| 58 |
|
---|
| 59 | /**
|
---|
| 60 | * Destroys the debugger GUI.
|
---|
| 61 | *
|
---|
| 62 | * @returns VBox status code.
|
---|
| 63 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
| 64 | */
|
---|
| 65 | DBGDECL(int) DBGGuiDestroy(PDBGGUI pGui);
|
---|
| 66 |
|
---|
| 67 | /**
|
---|
| 68 | * Notifies the debugger GUI that the console window (or whatever) has changed
|
---|
| 69 | * size or position.
|
---|
| 70 | *
|
---|
| 71 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
| 72 | * @param x The x-coordinate of the window the debugger is relative to.
|
---|
| 73 | * @param y The y-coordinate of the window the debugger is relative to.
|
---|
| 74 | * @param cx The width of the window the debugger is relative to.
|
---|
| 75 | * @param cy The height of the window the debugger is relative to.
|
---|
| 76 | */
|
---|
| 77 | DBGDECL(void) DBGGuiAdjustRelativePos(PDBGGUI pGui, int x, int y, unsigned cx, unsigned cy);
|
---|
| 78 |
|
---|
| 79 | /**
|
---|
| 80 | * Shows the default statistics window.
|
---|
| 81 | *
|
---|
| 82 | * @returns VBox status code.
|
---|
| 83 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
| 84 | */
|
---|
| 85 | DBGDECL(int) DBGGuiShowStatistics(PDBGGUI pGui);
|
---|
| 86 |
|
---|
| 87 | /**
|
---|
| 88 | * Shows the default command line window.
|
---|
| 89 | *
|
---|
| 90 | * @returns VBox status code.
|
---|
| 91 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
| 92 | */
|
---|
| 93 | DBGDECL(int) DBGGuiShowCommandLine(PDBGGUI pGui);
|
---|
| 94 |
|
---|
| 95 | /** @} */
|
---|
| 96 |
|
---|
| 97 | __END_DECLS
|
---|
| 98 |
|
---|
| 99 | #endif
|
---|
| 100 |
|
---|