From: <an...@us...> - 2008-03-07 08:28:28
|
Revision: 1434 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1434&view=rev Author: and-81 Date: 2008-03-07 00:28:22 -0800 (Fri, 07 Mar 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs trunk/plugins/IR Server Suite/Documentation/Common/debug_client.png trunk/plugins/IR Server Suite/Documentation/Input Service/advanced.png trunk/plugins/IR Server Suite/Documentation/Input Service/configuration.png trunk/plugins/IR Server Suite/Documentation/Translator/programs.png trunk/plugins/IR Server Suite/Documentation/Tray Launcher/setup.png trunk/plugins/IR Server Suite/Documentation/Virtual Remote/virtual_remote.png trunk/plugins/IR Server Suite/Documentation/abstract_remote_model.html trunk/plugins/IR Server Suite/Documentation/new.html trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Ads Tech PTV-335 Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/AdsTechPTV335Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Custom HID Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Custom HID Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Direct Input Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/DirectInputReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/FusionREMOTE Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/FusionRemoteReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Girder Plugin.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Girder Plugin.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/HCW Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/HcwReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/IR Server Plugin Interface.csproj trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/PluginBase.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR501 Receiver/IR501 Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/IR501 Receiver/IR501Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/IR507 Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/IR507Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/IRTrans Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/IRTransTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/IgorPlug Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/IgorPlug Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Ira Transceiver/Ira Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Ira Transceiver/IraTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Keyboard Input/Keyboard Input.cs trunk/plugins/IR Server Suite/IR Server Plugins/Keyboard Input/Keyboard Input.csproj trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/LiveDrive Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/LiveDriveReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/MacMini Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/MacMini Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Microsoft MCE Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/RC102 Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/RC102 Receiver/RC102 Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/RC102 Receiver/RC102Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/RedEye Blaster.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/RedEye Blaster.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Serial IR Blaster.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Serial IR Blaster.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Speech Receiver/Speech Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Speech Receiver/SpeechReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Tira Transceiver/Tira Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Tira Transceiver/TiraTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/USB-UIRT Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/UirtTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Wii Remote Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Wii Remote Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/WiimoteLib/WiimoteLib.csproj trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/WinLirc Transceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/WinLirc Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Windows Message Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Windows Message Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/X10 Transceiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/X10Transceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/XBCDRC Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/XBCDRC Receiver.csproj trunk/plugins/IR Server Suite/IR Server Suite - Debug.nsi trunk/plugins/IR Server Suite/IR Server Suite - Release.nsi trunk/plugins/IR Server Suite/IR Server Suite.sln trunk/plugins/IR Server Suite/Input Service/Input Service/Abstract Remote Maps/IgorPlug/Microsoft MCE.xml trunk/plugins/IR Server Suite/Input Service/Input Service/Abstract Remote Maps/Microsoft MCE/Microsoft MCE.xml trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Config.Designer.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Config.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Config.resx trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Configuration.csproj trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs Added Paths: ----------- trunk/plugins/IR Server Suite/Applications/Translator/Default Settings/Meedio.exe.xml trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/IR501 Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR501 Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Ira Transceiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Ira Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Ira Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Keyboard Input/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Keyboard Input/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/RC102 Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/RC102 Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Speech Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Speech Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Speech Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Properties/ trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Technotrend Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Technotrend Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Tira Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Tira Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/Properties/Resources.resx trunk/plugins/IR Server Suite/Input Service/Input Service/Abstract Remote Maps/Hauppauge/ trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Graphics/ trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Graphics/Advanced.png trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Graphics/Detect.png trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Graphics/Help.png trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Properties/Resources.resx Property Changed: ---------------- trunk/plugins/ShortcutFileSupport/ Modified: trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -1,5 +1,6 @@ using System; using System.Data; +using System.Diagnostics; using System.IO; using System.Net; using System.Text; @@ -150,6 +151,16 @@ case "ZAP": Info("Command: Zap, Channel: {0}", args[1]); + try + { + Info("Raising process priority"); + Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.High; + } + catch + { + Info("Failed to elevate process priority"); + } + _tvBouquets = new DataTable(); _tvBouquets.ReadXml(DataFile); @@ -168,7 +179,11 @@ DataRow[] rows = _tvBouquets.Select(expression); if (rows.Length == 1) { + //string channelName = rows[0]["ChannelName"] as string; string channelID = rows[0]["ID"] as string; + + //Info("Zapping to channel {0} \"{1}\"", channelName, channelID); + ZapTo(channelID); break; } @@ -255,7 +270,7 @@ _userName = "root"; _password = "dbox2"; _boxType = StbBoxType.Unknown; - _timeout = 2000; + _timeout = 4000; SaveSettings(); } Added: trunk/plugins/IR Server Suite/Applications/Translator/Default Settings/Meedio.exe.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Default Settings/Meedio.exe.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Translator/Default Settings/Meedio.exe.xml 2008-03-07 08:28:22 UTC (rev 1434) @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ServerHost>localhost</ServerHost> + <SystemWideMappings /> + <Programs> + <ProgramSettings Name="Meedio" FileName="e:\meedio\meedioapp\meedio.exe" Folder="" Arguments="" UseShellExecute="false" ForceWindowFocus="false" IgnoreSystemWide="false" WindowState="Normal"> + <ButtonMappings> + <ButtonMapping KeyCode="Up" Description="UP" Command="Window Message: CLASS|H2-WM-COMMAND|273|1|0" /> + <ButtonMapping KeyCode="Down" Description="DOWN" Command="Window Message: CLASS|H2-WM-COMMAND|273|2|0" /> + <ButtonMapping KeyCode="Left" Description="LEFT" Command="Window Message: CLASS|H2-WM-COMMAND|273|3|0" /> + <ButtonMapping KeyCode="Right" Description="RIGHT" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + <ButtonMapping KeyCode="OK" Description="SELECT" Command="Window Message: CLASS|H2-WM-COMMAND|273|5|0" /> + <ButtonMapping KeyCode="VolumeUp" Description="VOLUP" Command="Window Message: CLASS|H2-WM-COMMAND|273|30|0" /> + <ButtonMapping KeyCode="VolumeDown" Description="VOLDN" Command="Window Message: CLASS|H2-WM-COMMAND|273|31|0" /> + <ButtonMapping KeyCode="ChannelUp" Description="CHANNELUP" Command="Window Message: CLASS|H2-WM-COMMAND|273|7|0" /> + <ButtonMapping KeyCode="ChannelDown" Description="CHANNELDN" Command="Window Message: CLASS|H2-WM-COMMAND|273|8|0" /> + <ButtonMapping KeyCode="Start" Description="HOME" Command="Window Message: CLASS|H2-WM-COMMAND|273|44|0" /> + <ButtonMapping KeyCode="Back" Description="BACK" Command="Window Message: CLASS|H2-WM-COMMAND|273|6|0" /> + <ButtonMapping KeyCode="Info" Description="INFO" Command="Window Message: CLASS|H2-WM-COMMAND|273|36|0" /> + <ButtonMapping KeyCode="Mute" Description="MUTE" Command="Window Message: CLASS|H2-WM-COMMAND|273|32|0" /> + <ButtonMapping KeyCode="Number0" Description="0" Command="Window Message: CLASS|H2-WM-COMMAND|273|10|0" /> + <ButtonMapping KeyCode="Number1" Description="1" Command="Window Message: CLASS|H2-WM-COMMAND|273|11|0" /> + <ButtonMapping KeyCode="Number2" Description="2" Command="Window Message: CLASS|H2-WM-COMMAND|273|12|0" /> + <ButtonMapping KeyCode="Number3" Description="3" Command="Window Message: CLASS|H2-WM-COMMAND|273|13|0" /> + <ButtonMapping KeyCode="Number4" Description="4" Command="Window Message: CLASS|H2-WM-COMMAND|273|14|0" /> + <ButtonMapping KeyCode="Number5" Description="5" Command="Window Message: CLASS|H2-WM-COMMAND|273|15|0" /> + <ButtonMapping KeyCode="Number6" Description="6" Command="Window Message: CLASS|H2-WM-COMMAND|273|16|0" /> + <ButtonMapping KeyCode="Number7" Description="7" Command="Window Message: CLASS|H2-WM-COMMAND|273|17|0" /> + <ButtonMapping KeyCode="Number8" Description="8" Command="Window Message: CLASS|H2-WM-COMMAND|273|18|0" /> + <ButtonMapping KeyCode="Number9" Description="9" Command="Window Message: CLASS|H2-WM-COMMAND|273|19|0" /> + <ButtonMapping KeyCode="Play" Description="PLAY" Command="Window Message: CLASS|H2-WM-COMMAND|273|21|0" /> + <ButtonMapping KeyCode="Pause" Description="PAUSE" Command="Window Message: CLASS|H2-WM-COMMAND|273|22|0" /> + <ButtonMapping KeyCode="Stop" Description="STOP" Command="Window Message: CLASS|H2-WM-COMMAND|273|27|0" /> + <ButtonMapping KeyCode="FastForward" Description="FFWD" Command="Window Message: CLASS|H2-WM-COMMAND|273|25|0" /> + <ButtonMapping KeyCode="Rewind" Description="REW" Command="Window Message: CLASS|H2-WM-COMMAND|273|26|0" /> + <ButtonMapping KeyCode="Record" Description="RECORD" Command="Window Message: CLASS|H2-WM-COMMAND|273|28|0" /> + <ButtonMapping KeyCode="NextChapter" Description="NEXT" Command="Window Message: CLASS|H2-WM-COMMAND|273|23|0" /> + <ButtonMapping KeyCode="PreviousChapter" Description="PREVIOUS" Command="Window Message: CLASS|H2-WM-COMMAND|273|24|0" /> + <ButtonMapping KeyCode="Power" Description="POWER" Command="Window Message: CLASS|H2-WM-COMMAND|273|38|0" /> + <ButtonMapping KeyCode="Power2" Description="" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + <ButtonMapping KeyCode="Teletext" Description="TELETEXT" Command="Window Message: CLASS|H2-WM-COMMAND|273|52|0" /> + <ButtonMapping KeyCode="Red" Description="RED" Command="Window Message: CLASS|H2-WM-COMMAND|273|53|0" /> + <ButtonMapping KeyCode="Green" Description="GREEN" Command="Window Message: CLASS|H2-WM-COMMAND|273|54|0" /> + <ButtonMapping KeyCode="Yellow" Description="YELLOW" Command="Window Message: CLASS|H2-WM-COMMAND|273|55|0" /> + <ButtonMapping KeyCode="Blue" Description="BLUE" Command="Window Message: CLASS|H2-WM-COMMAND|273|56|0" /> + <ButtonMapping KeyCode="Clear" Description="CLEAR" Command="Window Message: CLASS|H2-WM-COMMAND|273|39|0" /> + <ButtonMapping KeyCode="Enter" Description="ENTER" Command="Window Message: CLASS|H2-WM-COMMAND|273|20|0" /> + <ButtonMapping KeyCode="_Hash" Description="" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + <ButtonMapping KeyCode="_Star" Description="" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + <ButtonMapping KeyCode="Music" Description="GOTO-MUSIC" Command="Window Message: CLASS|H2-WM-COMMAND|273|46|0" /> + <ButtonMapping KeyCode="Pictures" Description="GOTO-PHOTOS" Command="Window Message: CLASS|H2-WM-COMMAND|273|47|0" /> + <ButtonMapping KeyCode="Videos" Description="GOTO-VIDEO" Command="Window Message: CLASS|H2-WM-COMMAND|273|50|0" /> + <ButtonMapping KeyCode="DVD" Description="GOTO-DVD" Command="Window Message: CLASS|H2-WM-COMMAND|273|48|0" /> + <ButtonMapping KeyCode="TV" Description="" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + <ButtonMapping KeyCode="Guide" Description="GUIDE" Command="Window Message: CLASS|H2-WM-COMMAND|273|34|0" /> + <ButtonMapping KeyCode="LiveTV" Description="GOTO-TV" Command="Window Message: CLASS|H2-WM-COMMAND|273|49|0" /> + <ButtonMapping KeyCode="PreviousChannel" Description="PREV-CH" Command="Window Message: CLASS|H2-WM-COMMAND|273|33|0" /> + <ButtonMapping KeyCode="_Radio" Description="" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + <ButtonMapping KeyCode="_Print" Description="" Command="Window Message: CLASS|H2-WM-COMMAND|273|4|0" /> + </ButtonMappings> + </ProgramSettings> + </Programs> + <Events /> +</Configuration> \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -516,6 +516,13 @@ private void buttonTest_Click(object sender, EventArgs e) { + if (String.IsNullOrEmpty(_command)) + { + MessageBox.Show(this, "You must Set the command before you can Test it", "No command Set", MessageBoxButtons.OK, MessageBoxIcon.Warning); + buttonSet.Focus(); + return; + } + if (_command.StartsWith(Common.CmdPrefixKeys, StringComparison.OrdinalIgnoreCase)) { MessageBox.Show(this, "Keystroke commands cannot be tested here", "Cannot test Keystroke command", MessageBoxButtons.OK, MessageBoxIcon.Stop); Modified: trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -25,8 +25,6 @@ #region Constants - const string DefaultKeyCode = "31730"; - static readonly string ConfigurationFile = Path.Combine(Common.FolderAppData, "Tray Launcher\\Tray Launcher.xml"); #endregion Constants @@ -246,10 +244,10 @@ } void CreateDefaultSettings() { - _serverHost = "localhost"; - _programFile = String.Empty; - _launchOnLoad = false; - _launchKeyCode = DefaultKeyCode; + _serverHost = "localhost"; + _programFile = String.Empty; + _launchOnLoad = false; + _launchKeyCode = "Start"; SaveSettings(); } Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -387,7 +387,7 @@ BitConverter.GetBytes(keyCodeBytes.Length).CopyTo(bytes, 4 + deviceNameBytes.Length); keyCodeBytes.CopyTo(bytes, 8 + deviceNameBytes.Length); - IrssMessage message = new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Notify, bytes); + IrssMessage message = new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Request, bytes); SendMessage(message); } Modified: trunk/plugins/IR Server Suite/Documentation/Common/debug_client.png =================================================================== (Binary files differ) Modified: trunk/plugins/IR Server Suite/Documentation/Input Service/advanced.png =================================================================== (Binary files differ) Modified: trunk/plugins/IR Server Suite/Documentation/Input Service/configuration.png =================================================================== (Binary files differ) Modified: trunk/plugins/IR Server Suite/Documentation/Translator/programs.png =================================================================== (Binary files differ) Modified: trunk/plugins/IR Server Suite/Documentation/Tray Launcher/setup.png =================================================================== (Binary files differ) Modified: trunk/plugins/IR Server Suite/Documentation/Virtual Remote/virtual_remote.png =================================================================== (Binary files differ) Modified: trunk/plugins/IR Server Suite/Documentation/abstract_remote_model.html =================================================================== --- trunk/plugins/IR Server Suite/Documentation/abstract_remote_model.html 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/Documentation/abstract_remote_model.html 2008-03-07 08:28:22 UTC (rev 1434) @@ -24,6 +24,12 @@ <P>What follows is the Abstract Remote Model button list as of Version 0.1 of the Abstract Remote Model.</P> +<!-- + + + +--> + <TABLE> <TR><TD>Abstract Button Name</TD><TD>Brief description</TD><TD>Explanation</TD></TR> <TR><TD>Up</TD><TD>Up Arrow</TD><TD>A feature of almost all PC remote controls, the arrow buttons are generally used to control the on screen cursor or item selection.</TD></TR> @@ -35,6 +41,7 @@ <TR><TD>VolumeDown</TD><TD>Decrease Volume</TD><TD>Decrease the system or application volume.</TD></TR> <TR><TD>ChannelUp</TD><TD>Channel Up</TD><TD>In TV systems this button is used to increment the channel.</TD></TR> <TR><TD>ChannelDown</TD><TD>Channel Down</TD><TD>In TV systems this button is used to decrement the channel.</TD></TR> +<TR><TD>PreviousChannel</TD><TD>Return to the Previous Channel</TD><TD>In TV systems this button is used to go back to the last channel.</TD></TR> <TR><TD>Start</TD><TD>Start / Home / Go</TD><TD>This button may appear under many labels, in MCE convention it is referred to as the Start button and is used to launch a common application or while in that application it is also used to return to the main menu or home screen.</TD></TR> <TR><TD>Back</TD><TD>Back</TD><TD>Often mapped as the keyboard Escape key, this buttons most common function is to leave a menu or abort an operation or selection.</TD></TR> <TR><TD>Info</TD><TD>Info / More</TD><TD> @@ -71,7 +78,7 @@ <TR><TD>Clear</TD><TD>Clear / Delete</TD><TD>Clear a text entry or delete a single character (backspace).</TD></TR> <TR><TD>Enter</TD><TD>Enter</TD><TD>Simulates a keyboard Enter button press, or is used to add a carriage return to a block of text, where as pressing OK/Select would finish the text entry mode.</TD></TR> <TR><TD>Hash</TD><TD>#</TD><TD>Used for special functions in alpha-numeric text entry modes. Or simply as a special character.</TD></TR> -<TR><TD>Star</TD><TD>*</TD><TD> +<TR><TD>Star</TD><TD>*</TD><TD>Used for special functions in alpha-numeric text entry modes. Or simply as a special character.</TD></TR> <TR><TD>TaskSwap</TD><TD>Task Swap / Alt-Tab</TD><TD>Used to switch between running applications on the PC.</TD></TR> <TR><TD>Fullscreen</TD><TD>Toggle Fullscreen</TD><TD>Toggle video playback or window size between fullscreen and windowed.</TD></TR> <TR><TD>AspectRatio</TD><TD>Toggle Aspect Ratio</TD><TD>Cycle the video aspect ratio between available values.</TD></TR> @@ -83,6 +90,7 @@ <TR><TD>TV</TD><TD>Television</TD><TD>Go to the Television section of a program, or used to launch a television application.</TD></TR> <TR><TD>Guide</TD><TD>Guide / EPG</TD><TD>Go to the Guide or EPG section of a program.</TD></TR> <TR><TD>LiveTV</TD><TD>Live TV</TD><TD>Go to the Live TV section of a program, or used to launch a live TV application.</TD></TR> +<TR><TD>RecordedTV</TD><TD>Recorded TV programs</TD><TD>Go to the Recorded TV section of a program, or used to launch a video playback application.</TD></TR> <TR><TD>Radio</TD><TD>Radio</TD><TD>Go to the Radio section of a program, or used to launch a radio application.</TD></TR> <TR><TD>Print</TD><TD>Print</TD><TD>Print the current view/document.</TD></TR> <TR><TD>Snapshot</TD><TD>Create Snapshot</TD><TD>Create an image snapshot of the current view.</TD></TR> Modified: trunk/plugins/IR Server Suite/Documentation/new.html =================================================================== --- trunk/plugins/IR Server Suite/Documentation/new.html 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/Documentation/new.html 2008-03-07 08:28:22 UTC (rev 1434) @@ -24,7 +24,7 @@ <LI>Installer: New IR Server Suite installer. It looks more professional and you can now change the MediaPortal plugin install paths.</LI> <LI>General: Fixed the "pause" macro command.</LI> <LI>MCE Transceiver: Fixed another XP and Vista suspend/resume bug. When will it all end? ;)</LI> -<LI>IR Server plugins: Modified some method signatures.</LI> +<LI>Input plugins: Modified some method signatures.</LI> <LI>TV3 Blaster Plugin: Fixed a fatal error.</LI> <LI>General: Anywhere that previously took user input for a command and could include escape codes can now also include Environment Variables (including clipboard contents, date, time, and others). See documentation for more info.</LI> <LI>IR Blast: Now defaults to "localhost" if no host is specified on the command line (this will make it simpler to use on most setups).</LI> @@ -34,7 +34,7 @@ <LI>Translator: Can create a shortcut on the users desktop to launch a macro.</LI> <LI>Documentation: New documentation areas (Troubleshooting FAQ) and improvements.</LI> <LI>MCE Remote Receiver: Can now set remote and keyboard repeat rates to mimic system keyboard repeat rate settings.</LI> -<LI>IR Server Plugin: Added support for HCW (Hauppauge) Receiver - Experimental.</LI> +<LI>New Input Plugin: Added support for HCW (Hauppauge) Receiver - Experimental.</LI> <LI>Translator: Added a "remap" button for changing the button associated with a command.</LI> <LI>IR Server Plugin: Added support for RC102 and compatible receivers - Experimental.</LI> <LI>TCP Comms: Automatically maps "localhost" to loopback address, avoiding the lookup process. This <i>might</i> solve a host name lookup problem for some users.</LI> @@ -45,6 +45,9 @@ <LI>New Input Plugin: Direct Input. This allows the user to map game controllers (gamepads, joysticks, etc...) as remotes. First version is basic, next version will allow button combos and controlling the mouse with analog sticks.</LI> <LI>General: Implemented first draft of Abstract Remote Model. This will be expanded on in Version 1.0.4.3 to provide a superior automatic configuration method for all Applications and Plugins.</LI> <LI>MCE Transceiver: No longer sends those remote buttons that are being automatically handled, if automatic handling is disabled it will send the full set. This will prevent double presses from occuring. Note that this only effects the buttons that are automatically handled, the other buttons will continue to be sent regardless.</LI> +<LI>New Input Plugin: Added Experimental Mac Mini receiver support.</LI> +<LI>New Input Plugin: Added Experimental Leadtek CoolCommand receiver support.</LI> +<LI>New Input Plugin: Added Experimental Technotrend Receiver support.</LI> </UL></P> <BR> Modified: trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Ads Tech PTV-335 Receiver.csproj =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Ads Tech PTV-335 Receiver.csproj 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Ads Tech PTV-335 Receiver.csproj 2008-03-07 08:28:22 UTC (rev 1434) @@ -33,10 +33,16 @@ </PropertyGroup> <ItemGroup> <Reference Include="System" /> + <Reference Include="System.Drawing" /> </ItemGroup> <ItemGroup> <Compile Include="AdsTechPTV335Receiver.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> </ItemGroup> <ItemGroup> <ProjectReference Include="..\IR Server Plugin Interface\IR Server Plugin Interface.csproj"> @@ -48,6 +54,13 @@ <ItemGroup> <Content Include="Icon.ico" /> </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Properties\Resources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/AdsTechPTV335Receiver.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/AdsTechPTV335Receiver.cs 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/AdsTechPTV335Receiver.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -1,4 +1,5 @@ using System; +using System.Drawing; using System.Text; using System.Threading; using System.Runtime.InteropServices; @@ -64,6 +65,11 @@ /// </summary> /// <value>The description.</value> public override string Description { get { return "Supports the Ads Tech PTV-335 Receiver"; } } + /// <summary> + /// Gets a display icon for the plugin. + /// </summary> + /// <value>The icon.</value> + public override Icon DeviceIcon { get { return Properties.Resources.Icon; } } /// <summary> /// Detect the presence of this device. Devices that cannot be detected will always return false. Modified: trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Icon.ico =================================================================== (Binary files differ) Added: trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.Designer.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:2.0.50727.832 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace InputService.Plugin.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("InputService.Plugin.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Icon Icon { + get { + object obj = ResourceManager.GetObject("Icon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + } +} Added: trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.resx =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.resx (rev 0) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Ads Tech PTV-335 Receiver/Properties/Resources.resx 2008-03-07 08:28:22 UTC (rev 1434) @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="Icon" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\icon.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> +</root> \ No newline at end of file Modified: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj 2008-03-07 08:28:22 UTC (rev 1434) @@ -17,7 +17,7 @@ <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG</DefineConstants> + <DefineConstants>TRACE;DEBUG</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> @@ -36,26 +36,6 @@ <UseVSHostingProcess>false</UseVSHostingProcess> <DebugSymbols>false</DebugSymbols> </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> - <OutputPath>bin\x86\Debug\</OutputPath> - <DefineConstants>TRACE;DEBUG</DefineConstants> - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <DebugType>full</DebugType> - <PlatformTarget>x86</PlatformTarget> - <UseVSHostingProcess>false</UseVSHostingProcess> - <ErrorReport>prompt</ErrorReport> - <DocumentationFile>bin\x86\Debug\CoolCommand Receiver.xml</DocumentationFile> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> - <OutputPath>bin\x86\Release\</OutputPath> - <Optimize>true</Optimize> - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <DebugType> - </DebugType> - <PlatformTarget>x86</PlatformTarget> - <UseVSHostingProcess>false</UseVSHostingProcess> - <ErrorReport>prompt</ErrorReport> - </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Drawing" /> @@ -65,6 +45,11 @@ <ItemGroup> <Compile Include="CoolCommandReceiver.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> <Compile Include="ReceiverWindow.cs" /> </ItemGroup> <ItemGroup> @@ -77,6 +62,13 @@ <ItemGroup> <Content Include="Icon.ico" /> </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Properties\Resources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs 2008-03-07 05:08:44 UTC (rev 1433) +++ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -5,6 +5,7 @@ #if TRACE using System.Diagnostics; #endif +using System.Drawing; using System.IO; using System.Runtime.InteropServices; using System.Text; @@ -63,6 +64,11 @@ /// </summary> /// <value>The description.</value> public override string Description { get { return "Leadtek Winfast CoolCommand Receiver"; } } + /// <summary> + /// Gets a display icon for the plugin. + /// </summary> + /// <value>The icon.</value> + public override Icon DeviceIcon { get { return Properties.Resources.Icon; } } /// <summary> /// Detect the presence of this device. Devices that cannot be detected will always return false. Modified: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Icon.ico =================================================================== (Binary files differ) Added: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.Designer.cs 2008-03-07 08:28:22 UTC (rev 1434) @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:2.0.50727.832 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace InputService.Plugin.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("InputService.Plugin.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Icon Icon { + get { + object obj = ResourceManager.GetObject("Icon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + } +} Added: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.resx =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.resx (rev 0) +++ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/Resources.resx 2008-03-07 08:28:22 UTC (rev 1434) @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:st... [truncated message content] |