source:
dev/trunk/ab5.0/abdev/BasicCompiler_Common/include/Debugger.h@
828
Last change on this file since 828 was 828, checked in by , 12 years ago | |
---|---|
File size: 382 bytes |
Line | |
---|---|
1 | #pragma once |
2 | |
3 | class Debugger |
4 | { |
5 | bool isRunning; |
6 | |
7 | public: |
8 | Debugger() |
9 | : isRunning( false ) |
10 | { |
11 | } |
12 | |
13 | void DebugStart() |
14 | { |
15 | isRunning = true; |
16 | } |
17 | void FinishDebug() |
18 | { |
19 | isRunning = false; |
20 | } |
21 | |
22 | bool IsRunning() const |
23 | { |
24 | return isRunning; |
25 | } |
26 | |
27 | private: |
28 | Debugger(Debugger const&); |
29 | Debugger& operator =(Debugger const&); |
30 | }; |
31 | |
32 | static Debugger debugger; |
Note:
See TracBrowser
for help on using the repository browser.