diff options
author | Stephen Kennedy | 2008-07-07 15:42:26 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-07-07 15:42:26 +0000 |
commit | 275ffece2f2e2d39eef3409090b6be28827e0de3 (patch) | |
tree | 9c51aae5d309a428f1b397f4194c1677f530ad43 /backends | |
parent | 5840c2480f2ca97a565d22c79a937615b5da3d25 (diff) | |
download | scummvm-rg350-275ffece2f2e2d39eef3409090b6be28827e0de3.tar.gz scummvm-rg350-275ffece2f2e2d39eef3409090b6be28827e0de3.tar.bz2 scummvm-rg350-275ffece2f2e2d39eef3409090b6be28827e0de3.zip |
- changed VirtualKeyboard classes to Common namespace
- updated XMLParser from Tanoku's branch
svn-id: r32943
Diffstat (limited to 'backends')
-rw-r--r-- | backends/common/virtual-keyboard-parser.cpp | 2 | ||||
-rw-r--r-- | backends/common/virtual-keyboard-parser.h | 6 | ||||
-rw-r--r-- | backends/common/virtual-keyboard.cpp | 2 | ||||
-rw-r--r-- | backends/common/virtual-keyboard.h | 6 | ||||
-rw-r--r-- | backends/events/default/default-events.cpp | 2 | ||||
-rw-r--r-- | backends/events/default/default-events.h | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/backends/common/virtual-keyboard-parser.cpp b/backends/common/virtual-keyboard-parser.cpp index 6da5f690ba..d45ee7fdee 100644 --- a/backends/common/virtual-keyboard-parser.cpp +++ b/backends/common/virtual-keyboard-parser.cpp @@ -29,7 +29,7 @@ #include "graphics/imageman.h" #include "common/util.h" -namespace GUI { +namespace Common { VirtualKeyboardParser::VirtualKeyboardParser(VirtualKeyboard *kbd) : XMLParser() { _keyboard = kbd; diff --git a/backends/common/virtual-keyboard-parser.h b/backends/common/virtual-keyboard-parser.h index 64651dfa13..4423ae7b35 100644 --- a/backends/common/virtual-keyboard-parser.h +++ b/backends/common/virtual-keyboard-parser.h @@ -23,13 +23,13 @@ * */ -#ifndef GUI_VIRTUAL_KEYBOARD_PARSER -#define GUI_VIRTUAL_KEYBOARD_PARSER +#ifndef COMMON_VIRTUAL_KEYBOARD_PARSER +#define COMMON_VIRTUAL_KEYBOARD_PARSER #include "common/xmlparser.h" #include "backends/common/virtual-keyboard.h" -namespace GUI { +namespace Common { class VirtualKeyboardParser : public Common::XMLParser { diff --git a/backends/common/virtual-keyboard.cpp b/backends/common/virtual-keyboard.cpp index d19471b6bd..0ac6e4efad 100644 --- a/backends/common/virtual-keyboard.cpp +++ b/backends/common/virtual-keyboard.cpp @@ -30,7 +30,7 @@ #include "graphics/imageman.h" #include "common/unzip.h" -namespace GUI { +namespace Common { VirtualKeyboard::VirtualKeyboard() : _currentMode(0), _keyDown(0) { assert(g_system); diff --git a/backends/common/virtual-keyboard.h b/backends/common/virtual-keyboard.h index b41f346989..a0a678ba86 100644 --- a/backends/common/virtual-keyboard.h +++ b/backends/common/virtual-keyboard.h @@ -23,8 +23,8 @@ * */ -#ifndef GUI_VIRTUAL_KEYBOARD_H -#define GUI_VIRTUAL_KEYBOARD_H +#ifndef COMMON_VIRTUAL_KEYBOARD_H +#define COMMON_VIRTUAL_KEYBOARD_H class OSystem; @@ -36,7 +36,7 @@ class OSystem; #include "common/str.h" #include "graphics/surface.h" -namespace GUI { +namespace Common { class VirtualKeyboardParser; diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp index a3630b1d73..edb8f662e8 100644 --- a/backends/events/default/default-events.cpp +++ b/backends/events/default/default-events.cpp @@ -192,7 +192,7 @@ DefaultEventManager::DefaultEventManager(OSystem *boss) : _hasPlaybackEvent = false; } - _vk = new GUI::VirtualKeyboard(); + _vk = new Common::VirtualKeyboard(); } DefaultEventManager::~DefaultEventManager() { diff --git a/backends/events/default/default-events.h b/backends/events/default/default-events.h index c21fb41b16..4472b1115f 100644 --- a/backends/events/default/default-events.h +++ b/backends/events/default/default-events.h @@ -45,7 +45,7 @@ use a subclass of EventProvider. class DefaultEventManager : public Common::EventManager { OSystem *_boss; - GUI::VirtualKeyboard *_vk; + Common::VirtualKeyboard *_vk; Common::Point _mousePos; int _buttonState; |