Last change
on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
350 bytes
|
Rev | Line | |
---|
[829] | 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.