diff options
author | Tobia Tesan | 2016-02-29 15:39:42 +0100 |
---|---|---|
committer | Tobia Tesan | 2016-03-01 20:40:46 +0100 |
commit | a120aa855990f045d38d3b603306490305a48a39 (patch) | |
tree | c29f829e36ea762de60f683b23dbefd725717d16 /engines/wintermute/debugger/watch_instance.h | |
parent | d5d25b0e89faebe4b1c5961d7b1ab872339e4a03 (diff) | |
download | scummvm-rg350-a120aa855990f045d38d3b603306490305a48a39.tar.gz scummvm-rg350-a120aa855990f045d38d3b603306490305a48a39.tar.bz2 scummvm-rg350-a120aa855990f045d38d3b603306490305a48a39.zip |
WINTERMUTE: Add Watch functionality
Diffstat (limited to 'engines/wintermute/debugger/watch_instance.h')
-rw-r--r-- | engines/wintermute/debugger/watch_instance.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/engines/wintermute/debugger/watch_instance.h b/engines/wintermute/debugger/watch_instance.h new file mode 100644 index 0000000000..84fb62968d --- /dev/null +++ b/engines/wintermute/debugger/watch_instance.h @@ -0,0 +1,44 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef WATCH_INSTANCE_H_ +#define WATCH_INSTANCE_H_ + +namespace Wintermute { +class Watch; +class ScValue; +class DebuggableScript; + +class WatchInstance { + Watch* _watch; + ScValue *_lastValue; + DebuggableScript* _script; +public: + WatchInstance (Watch* watch, DebuggableScript* script); + ~WatchInstance(); + void evaluate(); +friend class DebuggableScript; +friend class Watch; +}; +} // End of namespace Wintermute + +#endif /* WATCH_INSTANCE_H_ */ |