summaryrefslogtreecommitdiff
path: root/client/controller.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-20 17:28:07 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-21 13:19:51 +0200
commitfa2e125ec4535b4a56a33aed76e3a0f9ce75eca0 (patch)
treeaa0e69959c3b4321907ff987849fda2ca46412fc /client/controller.h
parent79fffbf95d96b0eeb740fdfb9cca285fab8735c6 (diff)
client: Interpret the title control message as utf8 instead of unicode16
The activex browser plugin is sending unicode16 text, where as the xpi one is sending utf8 text. After discussing this on irc we've decided that utf8 is what we want to use. So the client (this patch), and the activex will be changed to expect resp. send utf8 text as the title.
Diffstat (limited to 'client/controller.h')
-rw-r--r--client/controller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/controller.h b/client/controller.h
index 89b2c23..924f351 100644
--- a/client/controller.h
+++ b/client/controller.h
@@ -33,7 +33,7 @@ public:
virtual bool connect(const std::string& host, int port, int sport,
const std::string& password) = 0;
- virtual void set_title(const std::wstring& title) = 0;
+ virtual void set_title(const std::string& title) = 0;
virtual void set_auto_display_res(bool auto_display_res) = 0;
virtual void show_me(bool full_screen) = 0;
virtual void hide_me() = 0;