Changeset View
Changeset View
Standalone View
Standalone View
debuggers/gdb/registers/converters.h
Show All 16 Lines | |||||
17 | * | 17 | * | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef CONVERTERS_H | 20 | #ifndef CONVERTERS_H | ||
21 | #define CONVERTERS_H | 21 | #define CONVERTERS_H | ||
22 | 22 | | |||
23 | #include "registercontroller.h" | 23 | #include "registercontroller.h" | ||
24 | 24 | | |||
25 | namespace GDBDebugger | 25 | namespace KDevMI | ||
26 | { | ||||
27 | namespace GDB | ||||
26 | { | 28 | { | ||
27 | 29 | | |||
28 | class Converters | 30 | class Converters | ||
29 | { | 31 | { | ||
30 | public: | 32 | public: | ||
31 | static QString formatToString(Format format); | 33 | static QString formatToString(Format format); | ||
32 | static Format stringToFormat(const QString& format); | 34 | static Format stringToFormat(const QString& format); | ||
33 | 35 | | |||
34 | static Mode stringToMode(const QString& mode); | 36 | static Mode stringToMode(const QString& mode); | ||
35 | static QString modeToString(Mode mode); | 37 | static QString modeToString(Mode mode); | ||
36 | }; | 38 | }; | ||
37 | 39 | | |||
38 | } | 40 | } // end of namespace GDB | ||
41 | } // end of namespace KDevMI | ||||
39 | #endif // CONVERTERS_H | 42 | #endif // CONVERTERS_H |