Skip to content
Snippets Groups Projects
Commit 6bd55be6 authored by hjk's avatar hjk
Browse files

debugger: make DebuggerState read accessor public and export it

parent 1173b0f6
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#ifndef DEBUGGERCONSTANTS_H #ifndef DEBUGGERCONSTANTS_H
#define DEBUGGERCONSTANTS_H #define DEBUGGERCONSTANTS_H
#include <QtCore/QtGlobal> #include "debugger_global.h"
namespace Debugger { namespace Debugger {
namespace Constants { namespace Constants {
...@@ -60,7 +60,7 @@ namespace Internal { ...@@ -60,7 +60,7 @@ namespace Internal {
} }
} // namespace Constants } // namespace Constants
enum DebuggerState enum DEBUGGER_EXPORT DebuggerState
{ {
DebuggerNotReady, // Debugger not started DebuggerNotReady, // Debugger not started
......
...@@ -162,6 +162,7 @@ public: ...@@ -162,6 +162,7 @@ public:
friend class Internal::CdbDebugEngine; friend class Internal::CdbDebugEngine;
friend struct Internal::CdbDebugEnginePrivate; friend struct Internal::CdbDebugEnginePrivate;
DebuggerState state() const;
QList<Core::IOptionsPage*> initializeEngines(unsigned enabledTypeFlags); QList<Core::IOptionsPage*> initializeEngines(unsigned enabledTypeFlags);
Core::Utils::FancyMainWindow *mainWindow() const; Core::Utils::FancyMainWindow *mainWindow() const;
...@@ -267,7 +268,6 @@ private: ...@@ -267,7 +268,6 @@ private:
void cleanupViews(); void cleanupViews();
DebuggerState state() const;
void setState(DebuggerState state); void setState(DebuggerState state);
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment