source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/include/Debugger.h@ 494

Last change on this file since 494 was 467, checked in by dai_9181, 17 years ago

いくつかのグローバル変数をProgram/Debuggerクラスにまとめた。

File size: 300 bytes
Line 
1#pragma once
2
3class Debugger
4{
5 bool isRunning;
6
7public:
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
28static Debugger debugger;
Note: See TracBrowser for help on using the repository browser.