VirtualBox

source: vbox/trunk/include/VBox/dbggui.h@ 10518

Last change on this file since 10518 was 8155, checked in by vboxsync, 17 years ago

The Big Sun Rebranding Header Change

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1/** @file
2 * DBGGUI - The VirtualBox Debugger GUI.
3 */
4
5/*
6 * Copyright (C) 2006-2007 Sun Microsystems, Inc.
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 (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.
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.
28 */
29
30#ifndef ___VBox_dbggui_h
31#define ___VBox_dbggui_h
32
33#if defined(RT_OS_WINDOWS)
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. */
48typedef 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 */
57DBGDECL(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 */
65DBGDECL(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 */
77DBGDECL(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 */
85DBGDECL(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 */
93DBGDECL(int) DBGGuiShowCommandLine(PDBGGUI pGui);
94
95/** @} */
96
97__END_DECLS
98
99#endif
100
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette