Changeset 12424 in vbox for trunk/include
- Timestamp:
- Sep 12, 2008 2:45:16 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36493
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dbggui.h
r8155 r12424 48 48 typedef struct DBGGUI *PDBGGUI; 49 49 50 /** Virtual method table for the debugger GUI. */ 51 typedef struct DBGGUIVT 52 { 53 /** The version. (DBGGUIVT_VERSION) */ 54 uint32_t u32Version; 55 /** @copydoc DBGGuiDestroy */ 56 DECLCALLBACKMEMBER(int, pfnDestroy)(PDBGGUI pGui); 57 /** @copydoc DBGGuiAdjustRelativePos */ 58 DECLCALLBACKMEMBER(void, pfnAdjustRelativePos)(PDBGGUI pGui, int x, int y, unsigned cx, unsigned cy); 59 /** @copydoc DBGGuiShowStatistics */ 60 DECLCALLBACKMEMBER(int, pfnShowStatistics)(PDBGGUI pGui); 61 /** @copydoc DBGGuiShowCommandLine */ 62 DECLCALLBACKMEMBER(int, pfnShowCommandLine)(PDBGGUI pGui); 63 /** The end version. (DBGGUIVT_VERSION) */ 64 uint32_t u32EndVersion; 65 } DBGGUIVT; 66 /** Pointer to the virtual method table for the debugger GUI. */ 67 typedef DBGGUIVT const *PCDBGGUIVT; 68 /** The u32Version value. 69 * The first byte is the minor version, the 2nd byte is major version number. 70 * The high 16-bit word is a magic. */ 71 #define DBGGUIVT_VERSION 0xbead0100 72 73 50 74 /** 51 75 * Creates the debugger GUI. … … 54 78 * @param pSession The VirtualBox session. 55 79 * @param ppGui Where to store the pointer to the debugger instance. 80 * @param ppGuiVT Where to store the virtual method table pointer. 81 * Optional. 56 82 */ 57 DBGDECL(int) DBGGuiCreate(ISession *pSession, PDBGGUI *ppGui); 83 DBGDECL(int) DBGGuiCreate(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 84 /** @copydoc DBGGuiCreate. */ 85 typedef DECLCALLBACK(int) FNDBGGUICREATE(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 86 /** Pointer to DBGGuiCreate. */ 87 typedef FNDBGGUICREATE *PFNDBGGUICREATE; 58 88 59 89 /**
Note:
See TracChangeset
for help on using the changeset viewer.