Merge branch 'develop' of git://github.com/Vocaluxe/Vocaluxe into XmlSerialization

This commit is contained in:
Flamefire committed 2014-11-14 21:21:23 +01:00
commit a2aafd4614
13 files changed
+1533 -1213

No files matched your search

+17
View File
@@ -58,6 +58,23 @@ namespace ServerLib
CServer.SendKeyEvent(key);
}
public void SendKeyStringEvent(string keyString, bool isShiftPressed = false, bool isAltPressed = false, bool isCtrlPressed = false)
{
if (!_CheckRight(EUserRights.UseKeyboard))
return;
if (CServer.SendKeyStringEvent == null)
{
if (WebOperationContext.Current != null)
{
WebOperationContext.Current.OutgoingResponse.StatusCode = HttpStatusCode.NotFound;
WebOperationContext.Current.OutgoingResponse.StatusDescription = "Not found";
}
}
else
CServer.SendKeyStringEvent(keyString, isShiftPressed, isAltPressed, isCtrlPressed);
}
#region profile
public int GetOwnProfileId()
{