diff options
author | hjk <[email protected]> | 2009-10-05 12:00:47 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2009-10-05 12:01:23 +0200 |
commit | 75529d87d382f9403d71cd8d9c1117ad4bfc58f4 (patch) | |
tree | 7f7586bd0256a0bf58e8289b0efb0b250bbba4a7 /src/plugins/debugger/stackhandler.h | |
parent | 1f1c899cc083c55daf7cc4591bf92f6103fac4ed (diff) |
debugger: rework 'jump to source' logic
Diffstat (limited to 'src/plugins/debugger/stackhandler.h')
-rw-r--r-- | src/plugins/debugger/stackhandler.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/debugger/stackhandler.h b/src/plugins/debugger/stackhandler.h index dd2c0a4997f..8b0d7a165c3 100644 --- a/src/plugins/debugger/stackhandler.h +++ b/src/plugins/debugger/stackhandler.h @@ -41,6 +41,14 @@ namespace Debugger { namespace Internal { +struct StackCookie +{ + StackCookie() : isFull(true), gotoLocation(false) {} + StackCookie(bool full, bool jump) : isFull(full), gotoLocation(jump) {} + bool isFull; + bool gotoLocation; +}; + //////////////////////////////////////////////////////////////////////// // // StackModel @@ -129,4 +137,7 @@ private: } // namespace Internal } // namespace Debugger +Q_DECLARE_METATYPE(Debugger::Internal::StackCookie) + + #endif // DEBUGGER_STACKHANDLER_H |