diff options
Diffstat (limited to 'src/plugins/debugger/debuggerprotocol.h')
-rw-r--r-- | src/plugins/debugger/debuggerprotocol.h | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.h b/src/plugins/debugger/debuggerprotocol.h index b5047a12cc..6bf081e4d6 100644 --- a/src/plugins/debugger/debuggerprotocol.h +++ b/src/plugins/debugger/debuggerprotocol.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef DEBUGGER_PROTOCOL_H -#define DEBUGGER_PROTOCOL_H +#pragma once #include <QByteArray> #include <QList> @@ -237,24 +236,17 @@ enum DisplayFormat }; -// These enum values are passed from the dumper to the frontend, +// These values are passed from the dumper to the frontend, // typically as a result of passing a related DisplayFormat value. // They are never stored in settings. -// Keep in sync with dumper.py, symbolgroupvalue.cpp of CDB -enum DebuggerDisplay -{ - StopDisplay = 0, - DisplayImageData = 1, - DisplayUtf16String = 2, - DisplayImageFile = 3, - DisplayLatin1String = 4, - DisplayUtf8String = 5, - DisplayPlotData = 6 -}; +const char DisplayLatin1String[] = "latin1:separate"; +const char DisplayUtf8String[] = "utf8:separate"; +const char DisplayUtf16String[] = "utf16:separate"; +const char DisplayUcs4String[] = "ucs4:separate"; +const char DisplayImageData[] = "imagedata:separate"; +const char DisplayImageFile[] = "imagefile:separate"; +const char DisplayPlotData[] = "plotdata:separate"; } // namespace Internal } // namespace Debugger - - -#endif // DEBUGGER_PROTOCOL_H |