From f67975a487704828a2005a26ed6725b01c2554db Mon Sep 17 00:00:00 2001 From: Littleboy Date: Tue, 26 Apr 2011 12:48:01 -0400 Subject: BACKENDS: Add win32 stubs for taskbar integration --- backends/taskbar/win32/win32-taskbar.h | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 backends/taskbar/win32/win32-taskbar.h (limited to 'backends/taskbar/win32/win32-taskbar.h') diff --git a/backends/taskbar/win32/win32-taskbar.h b/backends/taskbar/win32/win32-taskbar.h new file mode 100644 index 0000000000..20c1a8d383 --- /dev/null +++ b/backends/taskbar/win32/win32-taskbar.h @@ -0,0 +1,45 @@ +/* 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. + * + * $URL$ + * $Id$ + * + * Original code from EcWin7 - Copyright (C) 2010 Emanuele Colombo + * https://code.google.com/p/dukto/ + */ + +#ifndef BACKEND_WIN32_TASKBAR_H +#define BACKEND_WIN32_TASKBAR_H + +#include "common/str.h" +#include "common/taskbar.h" + +class Win32TaskbarManager : public Common::TaskbarManager { +public: + Win32TaskbarManager(); + virtual ~Win32TaskbarManager(); + + virtual void setOverlayIcon(const Common::String &name, const Common::String &description); + virtual void setProgressValue(int val, int max); + virtual void setProgressState(TaskbarProgressState state); + virtual void addRecent(const Common::String &name, const Common::String &description); +}; + +#endif // BACKEND_WIN32_TASKBAR_H -- cgit v1.2.3