/*
* Copyright (C) 2005-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* 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
void ActivateScreensaver();
void SwitchToFullscreen(); //
void Minimize(bool wait = false);
- void ExecOS(const CStdString command, bool waitExit = false);
+ void ExecOS(const CStdString &command, bool waitExit = false);
void UserEvent(int code);
//! \brief Set the tag for the currently playing song
void SetCurrentSongTag(const MUSIC_INFO::CMusicInfoTag& tag);
void ActivateWindow(int windowID, const std::vector<CStdString> ¶ms, bool swappingWindows);
void SendAction(const CAction &action, int windowID = WINDOW_INVALID, bool waitResult=true);
+ //! \brief Send text to currently focused window / keyboard.
+ void SendText(const std::string &aTextString, bool closeKeyboard = false);
+
/*! \brief Send a GUIMessage, optionally waiting before it's processed to return.
Should be used to send messages to the GUI from other threads.
\param msg the GUIMessage to send.