mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
BACKENDS: Implement notifyError() and clearError() for Win32TaskbarManager
This commit is contained in:
parent
539bf5317f
commit
f702cb5695
@ -317,6 +317,15 @@ void Win32TaskbarManager::addRecent(const Common::String &name, const Common::St
|
||||
}
|
||||
}
|
||||
|
||||
void Win32TaskbarManager::notifyError() {
|
||||
setProgressState(Common::TaskbarManager::kTaskbarError);
|
||||
setProgressValue(1, 1);
|
||||
}
|
||||
|
||||
void Win32TaskbarManager::clearError() {
|
||||
setProgressState(kTaskbarNoProgress);
|
||||
}
|
||||
|
||||
Common::String Win32TaskbarManager::getIconPath(Common::String target) {
|
||||
// We first try to look for a iconspath configuration variable then
|
||||
// fallback to the extra path
|
||||
|
@ -40,6 +40,8 @@ public:
|
||||
virtual void setProgressState(TaskbarProgressState state);
|
||||
virtual void setCount(int count);
|
||||
virtual void addRecent(const Common::String &name, const Common::String &description);
|
||||
virtual void notifyError();
|
||||
virtual void clearError();
|
||||
|
||||
private:
|
||||
ITaskbarList3 *_taskbar;
|
||||
|
Loading…
x
Reference in New Issue
Block a user