diff options
Diffstat (limited to 'common/system.h')
| -rw-r--r-- | common/system.h | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/common/system.h b/common/system.h index 3e740ff0c1..15fbe386b1 100644 --- a/common/system.h +++ b/common/system.h @@ -42,6 +42,9 @@ struct Rect;  class SaveFileManager;  class SearchSet;  class String; +#if defined(USE_TASKBAR) +class TaskbarManager; +#endif  class TimerManager;  class SeekableReadStream;  class WriteStream; @@ -149,6 +152,15 @@ protected:  	 */  	Common::SaveFileManager *_savefileManager; +#if defined(USE_TASKBAR) +	/** +	 * No default value is provided for _savefileManager by OSystem. +	 * +	 * @note _savefileManager is deleted by the OSystem destructor. +	 */ +	Common::TaskbarManager *_taskbarManager; +#endif +  	/**  	 * No default value is provided for _fsFactory by OSystem.  	 * @@ -1047,6 +1059,18 @@ public:  		return _savefileManager;  	} +#if defined(USE_TASKBAR) +	/** +	 * Returns the TaskbarManager, used to handle progress bars, +	 * icon overlay, tasks and recent items list on the taskbar. +	 * +	 * @return the TaskbarManager for the current architecture +	 */ +	virtual Common::TaskbarManager *getTaskbarManager() { +		return _taskbarManager; +	} +#endif +  	/**  	 * Returns the FilesystemFactory object, depending on the current architecture.  	 * | 
