aboutsummaryrefslogtreecommitdiff
path: root/backends/taskbar
diff options
context:
space:
mode:
authorLittleboy2011-04-01 01:04:46 -0400
committerJulien2011-06-16 10:37:37 -0400
commita523ade3329a36a50c75161279ced7c0d754906f (patch)
treec8fa91738ed911a991ea9923d9ec23027e32b06d /backends/taskbar
parentfe347e4339e25607c4f35ca4892ef9f4b4211108 (diff)
downloadscummvm-rg350-a523ade3329a36a50c75161279ced7c0d754906f.tar.gz
scummvm-rg350-a523ade3329a36a50c75161279ced7c0d754906f.tar.bz2
scummvm-rg350-a523ade3329a36a50c75161279ced7c0d754906f.zip
BACKENDS: Add stubs for unity taskbar class
Diffstat (limited to 'backends/taskbar')
-rw-r--r--backends/taskbar/unity/unity-taskbar.cpp56
-rw-r--r--backends/taskbar/unity/unity-taskbar.h49
2 files changed, 105 insertions, 0 deletions
diff --git a/backends/taskbar/unity/unity-taskbar.cpp b/backends/taskbar/unity/unity-taskbar.cpp
new file mode 100644
index 0000000000..98616a7587
--- /dev/null
+++ b/backends/taskbar/unity/unity-taskbar.cpp
@@ -0,0 +1,56 @@
+/* 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$
+ *
+ */
+
+#if defined(UNIX)
+
+#include "backends/taskbar/unity/unity-taskbar.h"
+
+#include "common/config-manager.h"
+#include "common/textconsole.h"
+#include "common/file.h"
+
+UnityTaskbarManager::UnityTaskbarManager() {
+}
+
+UnityTaskbarManager::~UnityTaskbarManager() {
+}
+
+void UnityTaskbarManager::setOverlayIcon(Common::String name, Common::String description) {
+ warning("[UnityTaskbarManager::setOverlayIcon] Not implemented");
+}
+
+void UnityTaskbarManager::setProgressValue(int completed, int total) {
+ warning("[UnityTaskbarManager::setProgressValue] Not implemented");
+}
+
+void UnityTaskbarManager::setProgressState(TaskbarProgressState state) {
+ warning("[UnityTaskbarManager::setProgressState] Not implemented");
+}
+
+void UnityTaskbarManager::addRecent(Common::String name, Common::String description) {
+ warning("[UnityTaskbarManager::addRecent] Not implemented");
+}
+
+#endif
diff --git a/backends/taskbar/unity/unity-taskbar.h b/backends/taskbar/unity/unity-taskbar.h
new file mode 100644
index 0000000000..a49f369cac
--- /dev/null
+++ b/backends/taskbar/unity/unity-taskbar.h
@@ -0,0 +1,49 @@
+/* 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$
+ *
+ */
+
+#ifndef BACKEND_UNITY_TASKBAR_H
+#define BACKEND_UNITY_TASKBAR_H
+
+#if defined(UNIX)
+
+#include "common/str.h"
+#include "common/taskbar.h"
+
+class UnityTaskbarManager : public Common::TaskbarManager {
+public:
+ UnityTaskbarManager();
+ virtual ~UnityTaskbarManager();
+
+ virtual void setOverlayIcon(Common::String name, Common::String description);
+ virtual void setProgressValue(int completed, int total);
+ virtual void setProgressState(TaskbarProgressState state);
+ virtual void addRecent(Common::String name, Common::String description);
+
+private:
+};
+
+#endif
+
+#endif // BACKEND_UNITY_TASKBAR_H