1 | /** @file
|
---|
2 | * DBGGUI - The VirtualBox Debugger GUI.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2006-2007 innotek GmbH
|
---|
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
|
---|
11 | * General Public License as published by the Free Software Foundation,
|
---|
12 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef ___VBox_dbggui_h
|
---|
18 | #define ___VBox_dbggui_h
|
---|
19 |
|
---|
20 | #if defined(RT_OS_WINDOWS)
|
---|
21 | # include <VirtualBox.h>
|
---|
22 | #else
|
---|
23 | # include <VirtualBox_XPCOM.h>
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | #include <VBox/types.h>
|
---|
27 |
|
---|
28 | __BEGIN_DECLS
|
---|
29 |
|
---|
30 | /** @defgroup grp_dbggui VirtualBox Debugger GUI
|
---|
31 | * @{
|
---|
32 | */
|
---|
33 |
|
---|
34 | /** Pointer to the debugger GUI instance structure. */
|
---|
35 | typedef struct DBGGUI *PDBGGUI;
|
---|
36 |
|
---|
37 | /**
|
---|
38 | * Creates the debugger GUI.
|
---|
39 | *
|
---|
40 | * @returns VBox status code.
|
---|
41 | * @param pSession The VirtualBox session.
|
---|
42 | * @param ppGui Where to store the pointer to the debugger instance.
|
---|
43 | */
|
---|
44 | DBGDECL(int) DBGGuiCreate(ISession *pSession, PDBGGUI *ppGui);
|
---|
45 |
|
---|
46 | /**
|
---|
47 | * Destroys the debugger GUI.
|
---|
48 | *
|
---|
49 | * @returns VBox status code.
|
---|
50 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
51 | */
|
---|
52 | DBGDECL(int) DBGGuiDestroy(PDBGGUI pGui);
|
---|
53 |
|
---|
54 | /**
|
---|
55 | * Notifies the debugger GUI that the console window (or whatever) has changed
|
---|
56 | * size or position.
|
---|
57 | *
|
---|
58 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
59 | * @param x The x-coordinate of the window the debugger is relative to.
|
---|
60 | * @param y The y-coordinate of the window the debugger is relative to.
|
---|
61 | * @param cx The width of the window the debugger is relative to.
|
---|
62 | * @param cy The height of the window the debugger is relative to.
|
---|
63 | */
|
---|
64 | DBGDECL(void) DBGGuiAdjustRelativePos(PDBGGUI pGui, int x, int y, unsigned cx, unsigned cy);
|
---|
65 |
|
---|
66 | /**
|
---|
67 | * Shows the default statistics window.
|
---|
68 | *
|
---|
69 | * @returns VBox status code.
|
---|
70 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
71 | */
|
---|
72 | DBGDECL(int) DBGGuiShowStatistics(PDBGGUI pGui);
|
---|
73 |
|
---|
74 | /**
|
---|
75 | * Shows the default command line window.
|
---|
76 | *
|
---|
77 | * @returns VBox status code.
|
---|
78 | * @param pGui The instance returned by DBGGuiCreate().
|
---|
79 | */
|
---|
80 | DBGDECL(int) DBGGuiShowCommandLine(PDBGGUI pGui);
|
---|
81 |
|
---|
82 | /** @} */
|
---|
83 |
|
---|
84 | __END_DECLS
|
---|
85 |
|
---|
86 | #endif
|
---|
87 |
|
---|