From: <an...@us...> - 2008-11-02 07:25:07
|
Revision: 2283 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=2283&view=rev Author: and-81 Date: 2008-11-02 07:25:00 +0000 (Sun, 02 Nov 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs trunk/plugins/IR Server Suite/Applications/Abstractor/Program.cs trunk/plugins/IR Server Suite/Applications/Abstractor/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Dbox Tuner/SetupForm.cs trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs trunk/plugins/IR Server Suite/Applications/Debug Client/Program.cs trunk/plugins/IR Server Suite/Applications/Debug Client/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/HCW PVR Tuner/Program.cs trunk/plugins/IR Server Suite/Applications/HCW PVR Tuner/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs trunk/plugins/IR Server Suite/Applications/IR Blast/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/FormMain.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/IrCode.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/IrDecoder.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/MceDetectionData.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/Program.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/Pronto.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR File Tool/RemoteDetectionData.cs trunk/plugins/IR Server Suite/Applications/IR Server/Advanced.cs trunk/plugins/IR Server Suite/Applications/IR Server/Config.cs trunk/plugins/IR Server Suite/Applications/IR Server/Exclusions.cs trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs trunk/plugins/IR Server Suite/Applications/IR Server/Program.cs trunk/plugins/IR Server Suite/Applications/IR Server/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Keyboard Input Relay/Program.cs trunk/plugins/IR Server Suite/Applications/Keyboard Input Relay/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/SageSetup/FormMain.cs trunk/plugins/IR Server Suite/Applications/SageSetup/Program.cs trunk/plugins/IR Server Suite/Applications/SageSetup/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Translator/AppProfile.cs trunk/plugins/IR Server Suite/Applications/Translator/ButtonMapping.cs trunk/plugins/IR Server Suite/Applications/Translator/Configuration.cs trunk/plugins/IR Server Suite/Applications/Translator/CopyDataWM.cs trunk/plugins/IR Server Suite/Applications/Translator/EventSchedule.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/Advanced.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/EditProgramForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/GetKeyCodeForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MenuForm.cs trunk/plugins/IR Server Suite/Applications/Translator/MappedEvent.cs trunk/plugins/IR Server Suite/Applications/Translator/Program.cs trunk/plugins/IR Server Suite/Applications/Translator/ProgramSettings.cs trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Translator/Translator.csproj trunk/plugins/IR Server Suite/Applications/Tray Launcher/GetKeyCodeForm.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Program.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Setup.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/RemoteButton.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Client.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/IrssMessage.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/ServerAddress.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Client.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/FormMain.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/IrssMessage.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/ServerAddress.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Client.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/FormMain.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/IrssMessage.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Web Remote/RemoteButton.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Setup.cs trunk/plugins/IR Server Suite/Applications/Web Remote/WebServer.cs trunk/plugins/IR Server Suite/Build Deploy Debug.bat trunk/plugins/IR Server Suite/Commands/Command/Command.cs trunk/plugins/IR Server Suite/Commands/Command/CommandExecutionException.cs trunk/plugins/IR Server Suite/Commands/Command/CommandStructureException.cs trunk/plugins/IR Server Suite/Commands/Command/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Control Statements/CommandAbortMacro.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Control Statements/CommandGotoLabel.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Control Statements/CommandIf.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Control Statements/CommandLabel.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Control Statements/CommandSwitch.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Exceptions/MacroExecutionException.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Exceptions/MacroStructureException.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditAbortMessage.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditBlastIR.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditIf.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditLabel.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditMacro.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditMathsOperation.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditSetVariable.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditStackFile.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditStringOperation.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditSwapVariables.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditSwitch.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Forms/EditVariablesFile.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Macro.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsAbsolute.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsAdd.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsDivide.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsModulo.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsMultiply.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsPower.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsSquareRoot.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Maths Operations/CommandMathsSubtract.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Processor.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Special Commands/CommandBlastIR.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Special Commands/CommandCallMacro.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Stack Commands/CommandClearStack.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Stack Commands/CommandLoadStack.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Stack Commands/CommandPeekStack.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Stack Commands/CommandPopStack.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Stack Commands/CommandPushStack.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Stack Commands/CommandSaveStack.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/String Operations/CommandStringJoin.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/String Operations/CommandStringToLower.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/String Operations/CommandStringToUpper.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/String Operations/CommandStringTrim.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Variable Commands/CommandClearVariables.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Variable Commands/CommandLoadVariables.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Variable Commands/CommandSaveVariables.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Variable Commands/CommandSetVariable.cs trunk/plugins/IR Server Suite/Commands/CommandProcessor/Variable Commands/CommandSwapVariables.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandHibernate.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandKeystrokes.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandLogOff.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandPause.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandPopup.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandReboot.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandRun.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandSendWOL.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandShutdown.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/CommandStandBy.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Forms/EditKeystrokes.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Forms/EditPause.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Forms/EditPopup.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Forms/EditSendWOL.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Forms/PopupMessage.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Commands/GeneralCommands/Win32.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandExit.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandGetFocus.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandGotoScreen.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandHibernate.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandPopup.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandReboot.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandSendAction.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandSendMessage.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandShutdown.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/CommandStandBy.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/Common.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/Forms/EditGotoScreen.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/Forms/EditPopup.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/Forms/EditSendAction.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/Forms/EditSendMessage.cs trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Commands/TestApp/Program.cs trunk/plugins/IR Server Suite/Commands/TestApp/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Commands/VariableList/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Commands/VariableList/VariableList.cs trunk/plugins/IR Server Suite/Common/IrssComms/Client.cs trunk/plugins/IR Server Suite/Common/IrssComms/ClientManager.cs trunk/plugins/IR Server Suite/Common/IrssComms/GenericPCQueue.cs trunk/plugins/IR Server Suite/Common/IrssComms/IrssMessage.cs trunk/plugins/IR Server Suite/Common/IrssComms/MessageManagerCombo.cs trunk/plugins/IR Server Suite/Common/IrssComms/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Common/IrssComms/Server.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Audio.cs trunk/plugins/IR Server Suite/Common/IrssUtils/CDRom.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Display.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Exceptions/CommandExecutionException.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Exceptions/CommandStructureException.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Exceptions/MacroStructureException.cs trunk/plugins/IR Server Suite/Common/IrssUtils/FocusForcer.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/BeepCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/BlastCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/CloseProgramCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayPowerCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/EjectCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/ExternalProgram.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/HttpMessageCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/IfCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/KeysCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/LabelNameDialog.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/LearnIR.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MessageCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/PauseTime.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/PopupMessage.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/SerialCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/ServerAddress.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/SetVariableCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/ShowPopupMessage.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/SmsKeyboard.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/TcpMessageCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/VariablesFileDialog.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/VirtualKeyboard.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/WindowCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/WindowList.cs trunk/plugins/IR Server Suite/Common/IrssUtils/IRServerInfo.cs trunk/plugins/IR Server Suite/Common/IrssUtils/IrssLog.cs trunk/plugins/IR Server Suite/Common/IrssUtils/IrssMacro.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Keyboard.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Mouse.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Network.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Common/IrssUtils/SystemRegistry.cs trunk/plugins/IR Server Suite/Common/IrssUtils/VariableList.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Win32.cs trunk/plugins/IR Server Suite/Common/IrssUtils/XML.cs trunk/plugins/IR Server Suite/Common/MPUtils/ExternalChannelConfig.cs trunk/plugins/IR Server Suite/Common/MPUtils/Forms/GoToScreen.cs trunk/plugins/IR Server Suite/Common/MPUtils/Forms/MPAction.cs trunk/plugins/IR Server Suite/Common/MPUtils/Forms/MPMessage.cs trunk/plugins/IR Server Suite/Common/MPUtils/MPCommon.cs trunk/plugins/IR Server Suite/Common/MPUtils/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Common/ShellLink/AssemblyInfo.cs trunk/plugins/IR Server Suite/Common/ShellLink/ShellLinkNative.cs trunk/plugins/IR Server Suite/Common/ShellLink/ShellShortcut.cs 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/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/AdvancedSettings.cs 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/DeviceSelect.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/RawInput.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/DirectInputListener.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/DirectInputReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/FusionRemoteReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Config.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Girder Plugin.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/GirderPluginWrapper.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/HcwReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/IrRemoteWrapper.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/HCW Receiver/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/IConfigure.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/IKeyboardReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/ILearnIR.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/IMouseReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/IRemoteReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/ITransmitIR.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/PluginBase.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR501 Receiver/IR501Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR501 Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/IR507Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/RawInput.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR507 Receiver/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/CSocketPacket.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/IRTransTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/IgorPlug Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/IrDecoder.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/MceDetectionData.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/RemoteDetectionData.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/Configuration.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/Imon USB Receivers.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/Keyboard.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/Mouse.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/RawInput.cs trunk/plugins/IR Server Suite/IR Server Plugins/Imon USB Receivers/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/Keyboard Input/Keyboard Input.cs trunk/plugins/IR Server Suite/IR Server Plugins/Keyboard Input/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/LiveDriveReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/LiveDrive Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/MacMini Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DeviceIoOverlapped.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Driver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverReplacement.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverVista.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverXP.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/IrCode.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/IrDecoder.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Keyboard.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MceDetectionData.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Mouse.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/NotifyWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Pronto.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/RemoteDetectionData.cs trunk/plugins/IR Server Suite/IR Server Plugins/Pinnacle Serial Receiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/Pinnacle Serial Receiver/Pinnacle Serial Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Pinnacle Serial Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/RC102 Receiver/Properties/AssemblyInfo.cs 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/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/RedEye Blaster.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Serial IR Blaster.cs trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Technotrend Receiver/Technotrend Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/UirtTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Mouse.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Setup.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Wii Remote Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/WiimoteLib/DataTypes.cs trunk/plugins/IR Server Suite/IR Server Plugins/WiimoteLib/Events.cs trunk/plugins/IR Server Suite/IR Server Plugins/WiimoteLib/HIDImports.cs trunk/plugins/IR Server Suite/IR Server Plugins/WiimoteLib/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/WiimoteLib/Wiimote.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/CreateIRFile.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/SocketInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/WinLirc Transceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/WinLircCommand.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/WinLircServer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Configure.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Windows Message Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/X10Transceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/XBCDRC Receiver.cs trunk/plugins/IR Server Suite/Input Service/Input Service/Abstract Remote Maps/iMon/Imon PAD.xml trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs trunk/plugins/IR Server Suite/Input Service/Input Service/InputServiceInstaller.cs trunk/plugins/IR Server Suite/Input Service/Input Service/Program.cs trunk/plugins/IR Server Suite/Input Service/Input Service/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Config.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Exclusions.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Forms/SetupForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/MPBlastZonePlugin.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Menu.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/MultiMapNameBox.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/SetupForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/InputMapper/InputHandler.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/InputMapper/InputMappingForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/MPControlPlugin.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/MappedEvent.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/MappedKeyCode.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/ExternalChannels.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/SetupForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/TV2BlasterPlugin.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/ExternalChannels.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/PluginSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/TV3BlasterPlugin.cs trunk/plugins/IR Server Suite/setup/setup.nsi Modified: trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs 2008-10-31 17:15:23 UTC (rev 2282) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs 2008-11-02 07:25:00 UTC (rev 2283) @@ -1,31 +1,21 @@ using System; -using System.Collections; using System.Collections.Generic; -using System.ComponentModel; using System.Data; -using System.Diagnostics; -using System.Drawing; using System.IO; using System.Net; -using System.Net.Sockets; -using System.Runtime.InteropServices; -using System.Security; using System.Text; using System.Threading; using System.Windows.Forms; - using IrssComms; using IrssUtils; namespace Abstractor { - /// <summary> /// Main Form. /// </summary> - partial class MainForm : Form + internal partial class MainForm : Form { - #region Constants /* @@ -103,9 +93,12 @@ "Page Down" };*/ - static readonly string AbstractRemoteMapFolder = Path.Combine(Common.FolderAppData, "Input Service\\Abstract Remote Maps"); - static readonly string AbstractRemoteSchemaFile = Path.Combine(Common.FolderAppData, "Input Service\\Abstract Remote Maps\\RemoteTable.xsd"); + private static readonly string AbstractRemoteMapFolder = Path.Combine(Common.FolderAppData, + "Input Service\\Abstract Remote Maps"); + private static readonly string AbstractRemoteSchemaFile = Path.Combine(Common.FolderAppData, + "Input Service\\Abstract Remote Maps\\RemoteTable.xsd"); + #endregion Constants #region Enumerations @@ -183,29 +176,27 @@ PageUp, PageDown, PictureInPicture, - } #endregion Enumerations #region Variables - Client _client; + private Client _client; - string _serverHost = "localhost"; - - bool _registered; - //IRServerInfo _irServerInfo = new IRServerInfo(); - string[] _devices; - string _selectedDevice; + private string[] _devices; + private bool _registered; + private string _selectedDevice; + private string _serverHost = "localhost"; #endregion Variables - delegate void DelegateAddStatusLine(string status); - DelegateAddStatusLine _addStatusLine; - void AddStatusLine(string status) + private DelegateAddStatusLine _addStatusLine; + private DelegateSetDevices _setDevices; + + private void AddStatusLine(string status) { IrssLog.Info(status); @@ -214,10 +205,7 @@ listBoxStatus.SetSelected(listBoxStatus.Items.Count - 1, true); } - - delegate void DelegateSetDevices(string[] devices); - DelegateSetDevices _setDevices; - void SetDevices(string[] devices) + private void SetDevices(string[] devices) { _devices = devices; @@ -229,66 +217,6 @@ textBoxRemoteName.Text = devices[0]; } - #region Constructor - - public MainForm() - { - IrssLog.LogLevel = IrssLog.Level.Debug; - IrssLog.Open("Abstractor.log"); - - InitializeComponent(); - - _addStatusLine = new DelegateAddStatusLine(AddStatusLine); - _setDevices = new DelegateSetDevices(SetDevices); - - comboBoxComputer.Items.Clear(); - comboBoxComputer.Items.Add("localhost"); - - List<string> networkPCs = Network.GetComputers(false); - if (networkPCs != null) - comboBoxComputer.Items.AddRange(networkPCs.ToArray()); - - comboBoxComputer.Text = _serverHost; - - ClearMap(); - /* - DataTable table = new DataTable("RemoteTable"); - - DataColumn column; - - column = new DataColumn("RawCode", typeof(string)); - column.Caption = "Raw Code"; - column.ColumnMapping = MappingType.Attribute; - column.DefaultValue = String.Empty; - column.ReadOnly = false; - column.Unique = true; - table.Columns.Add(column); - - column = new DataColumn("AbstractButton", typeof(string)); - column.Caption = "Abstract Button"; - column.ColumnMapping = MappingType.Attribute; - column.DefaultValue = String.Empty; - column.ReadOnly = false; - column.Unique = false; - table.Columns.Add(column); - - string[] names = Enum.GetNames(typeof(MceButton)); - foreach (string name in names) - { - int button = (int)Enum.Parse(typeof(MceButton), name); - - table.Rows.Add(button.ToString(), name); - } - - //table.WriteXmlSchema(AbstractRemoteSchemaFile); - - table.WriteXml("Template.xml"); - */ - } - - #endregion Constructor - - private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { buttonDisconnect_Click(null, null); @@ -300,9 +228,9 @@ } - void ReceivedMessage(IrssMessage received) + private void ReceivedMessage(IrssMessage received) { - this.Invoke(_addStatusLine, new Object[] { String.Format("Received Message: \"{0}, {1}\"", received.Type, received.Flags) }); + Invoke(_addStatusLine, String.Format("Received Message: \"{0}, {1}\"", received.Type, received.Flags)); try { @@ -324,15 +252,16 @@ return; case MessageType.ActiveBlasters: - this.Invoke(_addStatusLine, new Object[] { received.GetDataAsString() }); + Invoke(_addStatusLine, received.GetDataAsString()); break; case MessageType.ActiveReceivers: - this.Invoke(_addStatusLine, new Object[] { received.GetDataAsString() }); + Invoke(_addStatusLine, received.GetDataAsString()); - string[] receivers = received.GetDataAsString().Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); + string[] receivers = received.GetDataAsString().Split(new char[] {','}, + StringSplitOptions.RemoveEmptyEntries); - this.Invoke(_setDevices, new object[] { receivers }); + Invoke(_setDevices, receivers); break; case MessageType.RemoteEvent: @@ -350,20 +279,20 @@ return; case MessageType.Error: - this.Invoke(_addStatusLine, new Object[] { received.GetDataAsString() }); + Invoke(_addStatusLine, received.GetDataAsString()); return; } } catch (Exception ex) { - this.Invoke(_addStatusLine, new Object[] { ex.Message }); + Invoke(_addStatusLine, ex.Message); } } - void RemoteHandlerCallback(string deviceName, string keyCode) + private void RemoteHandlerCallback(string deviceName, string keyCode) { string text = String.Format("Remote Event \"{0}\", \"{1}\"", deviceName, keyCode); - this.Invoke(_addStatusLine, text); + Invoke(_addStatusLine, text); bool foundDevice = false; foreach (string device in _devices) @@ -379,7 +308,7 @@ { List<string> newDevices = new List<string>(_devices); newDevices.Add(deviceName); - this.Invoke(_setDevices, new object[] { newDevices.ToArray() }); + Invoke(_setDevices, new object[] {newDevices.ToArray()}); } // If this remote event matches the criteria then set it to an abstract button in the list view ... @@ -409,43 +338,43 @@ } } - void CommsFailure(object obj) + private void CommsFailure(object obj) { Exception ex = obj as Exception; - + if (ex != null) - this.Invoke(_addStatusLine, new Object[] { String.Format("Communications failure: {0}", ex.Message) }); + Invoke(_addStatusLine, new Object[] {String.Format("Communications failure: {0}", ex.Message)}); else - this.Invoke(_addStatusLine, new Object[] { "Communications failure" }); + Invoke(_addStatusLine, new Object[] {"Communications failure"}); StopClient(); } - void Connected(object obj) + + private void Connected(object obj) { IrssLog.Info("Connected to server"); IrssMessage message = new IrssMessage(MessageType.RegisterClient, MessageFlags.Request); _client.Send(message); } - void Disconnected(object obj) + + private void Disconnected(object obj) { IrssLog.Warn("Communications with server has been lost"); Thread.Sleep(1000); } - bool StartClient(IPEndPoint endPoint) + private bool StartClient(IPEndPoint endPoint) { if (_client != null) return false; - ClientMessageSink sink = new ClientMessageSink(ReceivedMessage); + _client = new Client(endPoint, ReceivedMessage); + _client.CommsFailureCallback = CommsFailure; + _client.ConnectCallback = Connected; + _client.DisconnectCallback = Disconnected; - _client = new Client(endPoint, sink); - _client.CommsFailureCallback = new WaitCallback(CommsFailure); - _client.ConnectCallback = new WaitCallback(Connected); - _client.DisconnectCallback = new WaitCallback(Disconnected); - if (_client.Start()) { return true; @@ -456,7 +385,8 @@ return false; } } - void StopClient() + + private void StopClient() { if (_client == null) return; @@ -481,7 +411,7 @@ _serverHost = comboBoxComputer.Text; IPAddress serverIP = Client.GetIPFromName(_serverHost); - IPEndPoint endPoint = new IPEndPoint(serverIP, IrssComms.Server.DefaultPort); + IPEndPoint endPoint = new IPEndPoint(serverIP, Server.DefaultPort); StartClient(endPoint); } @@ -490,6 +420,7 @@ AddStatusLine(ex.Message); } } + private void buttonDisconnect_Click(object sender, EventArgs e) { AddStatusLine("Disconnect"); @@ -520,29 +451,33 @@ { ClearMap(); } + private void buttonLoad_Click(object sender, EventArgs e) { LoadMap(); } + private void buttonSave_Click(object sender, EventArgs e) { SaveMap(); } - void ClearMap() + private void ClearMap() { - string[] abstractButtons = Enum.GetNames(typeof(AbstractButton)); - + string[] abstractButtons = Enum.GetNames(typeof (AbstractButton)); + listViewButtonMap.Items.Clear(); foreach (string abstractButton in abstractButtons) - listViewButtonMap.Items.Add(new ListViewItem(new string[] { abstractButton, String.Empty })); + listViewButtonMap.Items.Add(new ListViewItem(new string[] {abstractButton, String.Empty})); } - void SaveMap() + + private void SaveMap() { if (String.IsNullOrEmpty(textBoxRemoteName.Text)) { - MessageBox.Show(this, "You must include a remote name before saving", "Missing remote name", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, "You must include a remote name before saving", "Missing remote name", + MessageBoxButtons.OK, MessageBoxIcon.Error); return; } @@ -554,7 +489,7 @@ string fileName = Path.ChangeExtension(textBoxRemoteName.Text, ".xml"); string path = Path.Combine(directory, fileName); - this.Invoke(_addStatusLine, String.Format("Writing to file \"{0}\"", path)); + Invoke(_addStatusLine, String.Format("Writing to file \"{0}\"", path)); DataTable table = new DataTable("RemoteTable"); table.ReadXmlSchema(AbstractRemoteSchemaFile); @@ -567,11 +502,13 @@ table.WriteXml(path); } - void LoadMap() + + private void LoadMap() { if (String.IsNullOrEmpty(textBoxRemoteName.Text)) { - MessageBox.Show(this, "You must include a remote name to load", "Missing remote name", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, "You must include a remote name to load", "Missing remote name", MessageBoxButtons.OK, + MessageBoxIcon.Error); return; } @@ -581,22 +518,24 @@ if (!File.Exists(path)) { - MessageBox.Show(this, String.Format("Remote file not found ({0}) in device folder ({1})", fileName, _selectedDevice), "Remote file not found", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, + String.Format("Remote file not found ({0}) in device folder ({1})", fileName, _selectedDevice), + "Remote file not found", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - this.Invoke(_addStatusLine, String.Format("Reading remote from file \"{0}\" (device: {1})", fileName, _selectedDevice)); + Invoke(_addStatusLine, String.Format("Reading remote from file \"{0}\" (device: {1})", fileName, _selectedDevice)); DataTable table = new DataTable("RemoteTable"); table.ReadXmlSchema(AbstractRemoteSchemaFile); table.ReadXml(path); - string[] abstractButtons = Enum.GetNames(typeof(AbstractButton)); + string[] abstractButtons = Enum.GetNames(typeof (AbstractButton)); listViewButtonMap.Items.Clear(); foreach (string abstractButton in abstractButtons) { - string[] subitems = new string[] { abstractButton, String.Empty }; + string[] subitems = new string[] {abstractButton, String.Empty}; DataRow[] rows = table.Select(String.Format("AbstractButton = '{0}'", abstractButton)); @@ -624,7 +563,75 @@ _selectedDevice = comboBoxDevice.Text; } + #region Constructor + public MainForm() + { + IrssLog.LogLevel = IrssLog.Level.Debug; + IrssLog.Open("Abstractor.log"); + + InitializeComponent(); + + _addStatusLine = AddStatusLine; + _setDevices = SetDevices; + + comboBoxComputer.Items.Clear(); + comboBoxComputer.Items.Add("localhost"); + + List<string> networkPCs = Network.GetComputers(false); + if (networkPCs != null) + comboBoxComputer.Items.AddRange(networkPCs.ToArray()); + + comboBoxComputer.Text = _serverHost; + + ClearMap(); + /* + DataTable table = new DataTable("RemoteTable"); + + DataColumn column; + + column = new DataColumn("RawCode", typeof(string)); + column.Caption = "Raw Code"; + column.ColumnMapping = MappingType.Attribute; + column.DefaultValue = String.Empty; + column.ReadOnly = false; + column.Unique = true; + table.Columns.Add(column); + + column = new DataColumn("AbstractButton", typeof(string)); + column.Caption = "Abstract Button"; + column.ColumnMapping = MappingType.Attribute; + column.DefaultValue = String.Empty; + column.ReadOnly = false; + column.Unique = false; + table.Columns.Add(column); + + string[] names = Enum.GetNames(typeof(MceButton)); + foreach (string name in names) + { + int button = (int)Enum.Parse(typeof(MceButton), name); + + table.Rows.Add(button.ToString(), name); + } + + //table.WriteXmlSchema(AbstractRemoteSchemaFile); + + table.WriteXml("Template.xml"); + */ + } + + #endregion Constructor + + #region Nested type: DelegateAddStatusLine + + private delegate void DelegateAddStatusLine(string status); + + #endregion + + #region Nested type: DelegateSetDevices + + private delegate void DelegateSetDevices(string[] devices); + + #endregion } - -} +} \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Applications/Abstractor/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Program.cs 2008-10-31 17:15:23 UTC (rev 2282) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Program.cs 2008-11-02 07:25:00 UTC (rev 2283) @@ -1,24 +1,19 @@ using System; -using System.Collections.Generic; using System.Windows.Forms; namespace Abstractor { - - static class Program + internal static class Program { - /// <summary> /// The main entry point for the application. /// </summary> [STAThread] - static void Main() + private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); } - } - -} +} \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Applications/Abstractor/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Properties/AssemblyInfo.cs 2008-10-31 17:15:23 UTC (rev 2282) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Properties/AssemblyInfo.cs 2008-11-02 07:25:00 UTC (rev 2283) @@ -1,12 +1,12 @@ using System; using System.Reflection; -using System.Runtime.CompilerServices; +using System.Resources; using System.Runtime.InteropServices; -using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. + [assembly: AssemblyTitle("Abstractor")] [assembly: AssemblyDescription("Abstract Remote Map Creator")] [assembly: AssemblyConfiguration("")] @@ -19,9 +19,11 @@ // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. + [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM + [assembly: Guid("4d23d334-3b85-4d33-85a2-0071812ce053")] // Version information for an assembly consists of the following four values: @@ -31,8 +33,8 @@ // Build Number // Revision // + [assembly: AssemblyVersion("1.4.2.0")] [assembly: AssemblyFileVersion("1.4.2.0")] - [assembly: CLSCompliant(true)] -[assembly: NeutralResourcesLanguageAttribute("en")] +[assembly: NeutralResourcesLanguage("en")] \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs 2008-10-31 17:15:23 UTC (rev 2282) +++ trunk/plugins/IR Server Suite/Applications/Dbox Tuner/Program.cs 2008-11-02 07:25:00 UTC (rev 2283) @@ -4,10 +4,8 @@ using System.IO; using System.Net; using System.Text; -using System.Threading; using System.Windows.Forms; using System.Xml; - using IrssUtils; namespace DboxTuner @@ -28,28 +26,27 @@ /// <summary> /// Based on MyDbox MediaPortal plugin by Mark Koenig (kroko). /// </summary> - static class Program + internal static class Program { - #region Constants internal const string UrlPrefix = "http://"; internal static readonly string ConfigurationFile = Path.Combine(Common.FolderAppData, "Dbox Tuner\\Dbox Tuner.xml"); - internal static readonly string DataFile = Path.Combine(Common.FolderAppData, "Dbox Tuner\\Data.xml"); + internal static readonly string DataFile = Path.Combine(Common.FolderAppData, "Dbox Tuner\\Data.xml"); #endregion Constants #region Variables - static string _address; - static string _userName; - static string _password; - static StbBoxType _boxType; - static int _timeout; + private static string _address; + private static StbBoxType _boxType; + private static string _password; + private static int _timeout; - static string _url; - static DataTable _tvBouquets; + private static DataTable _tvBouquets; + private static string _url; + private static string _userName; #endregion Variables @@ -58,7 +55,7 @@ /// </summary> /// <param name="args">The command line parameters.</param> [STAThread] - static void Main(string[] args) + private static void Main(string[] args) { Console.WriteLine("Dbox Tuner"); Console.WriteLine(); @@ -74,7 +71,7 @@ IrssLog.Append("Dbox Tuner.log"); LoadSettings(); - + if (args.Length == 0) { Console.WriteLine("Usage:"); @@ -99,19 +96,19 @@ { case "SETUP": SetupForm setup = new SetupForm(); - setup.Address = _address; + setup.Address = _address; setup.UserName = _userName; setup.Password = _password; - setup.BoxType = _boxType; - setup.Timeout = _timeout; + setup.BoxType = _boxType; + setup.Timeout = _timeout; if (setup.ShowDialog() == DialogResult.OK) { - _address = setup.Address; + _address = setup.Address; _userName = setup.UserName; _password = setup.Password; - _boxType = setup.BoxType; - _timeout = setup.Timeout; + _boxType = setup.BoxType; + _timeout = setup.Timeout; SaveSettings(); Info("Setup saved"); @@ -204,25 +201,25 @@ IrssLog.Close(); } - static void Info(string format, params object[] args) + private static void Info(string format, params object[] args) { string message = String.Format(format, args); IrssLog.Info(message); Console.WriteLine(message); } - static void LoadSettings() + private static void LoadSettings() { try { XmlDocument doc = new XmlDocument(); doc.Load(ConfigurationFile); - _address = doc.DocumentElement.Attributes["Address"].Value; + _address = doc.DocumentElement.Attributes["Address"].Value; _userName = doc.DocumentElement.Attributes["UserName"].Value; _password = doc.DocumentElement.Attributes["Password"].Value; - _boxType = (StbBoxType)Enum.Parse(typeof(StbBoxType), doc.DocumentElement.Attributes["BoxType"].Value, true); - _timeout = int.Parse(doc.DocumentElement.Attributes["Timeout"].Value); + _boxType = (StbBoxType) Enum.Parse(typeof (StbBoxType), doc.DocumentElement.Attributes["BoxType"].Value, true); + _timeout = int.Parse(doc.DocumentElement.Attributes["Timeout"].Value); } catch (FileNotFoundException) { @@ -237,7 +234,8 @@ CreateDefaultSettings(); } } - static void SaveSettings() + + private static void SaveSettings() { try { @@ -245,14 +243,14 @@ { writer.Formatting = Formatting.Indented; writer.Indentation = 1; - writer.IndentChar = (char)9; + writer.IndentChar = (char) 9; writer.WriteStartDocument(true); writer.WriteStartElement("settings"); // <settings> writer.WriteAttributeString("Address", _address); writer.WriteAttributeString("UserName", _userName); writer.WriteAttributeString("Password", _password); - writer.WriteAttributeString("BoxType", Enum.GetName(typeof(StbBoxType), _boxType)); + writer.WriteAttributeString("BoxType", Enum.GetName(typeof (StbBoxType), _boxType)); writer.WriteAttributeString("Timeout", _timeout.ToString()); writer.WriteEndElement(); // </settings> @@ -264,18 +262,20 @@ IrssLog.Error(ex); } } - static void CreateDefaultSettings() + + private static void CreateDefaultSettings() { - _address = "192.168.0.100"; + _address = "192.168.0.100"; _userName = "root"; _password = "dbox2"; - _boxType = StbBoxType.Unknown; - _timeout = 4000; + _boxType = StbBoxType.Unknown; + _timeout = 4000; SaveSettings(); } - internal static string PostData(string url, string userName, string password, StbBoxType boxType, int timeout, string command) + internal static string PostData(string url, string userName, string password, StbBoxType boxType, int timeout, + string command) { try { @@ -292,9 +292,9 @@ encode = Encoding.GetEncoding("utf-8"); using (WebResponse response = request.GetResponse()) - using (Stream receiveStream = response.GetResponseStream()) - using (StreamReader reader = new StreamReader(receiveStream, encode)) - return reader.ReadToEnd(); + using (Stream receiveStream = response.GetResponseStream()) + using (StreamReader reader = new StreamReader(receiveStream, encode)) + return reader.ReadToEnd(); } catch (Exception ex) { @@ -307,10 +307,10 @@ internal static DataSet GetData(string url, string userName, string password, StbBoxType boxType, int timeout) { DataSet ds = new DataSet(); - + string command; string temp; - + string sreturn = String.Empty; #region Get data from STB @@ -319,10 +319,13 @@ { case StbBoxType.EnigmaV1: // get userbouquets (ref=4097:7:0:6:0:0:0:0:0:0:) - sreturn = PostData(url, userName, password, boxType, timeout, "/cgi-bin/getServices?ref=4097:7:0:6:0:0:0:0:0:0:"); + sreturn = PostData(url, userName, password, boxType, timeout, + "/cgi-bin/getServices?ref=4097:7:0:6:0:0:0:0:0:0:"); // get internal hdd recording - if (!PostData(url, userName, password, boxType, timeout, "/cgi-bin/getServices?ref=2:47:0:0:0:0:0:0:0:0:/var/media/movie/").Contains("E: ")) + if ( + !PostData(url, userName, password, boxType, timeout, + "/cgi-bin/getServices?ref=2:47:0:0:0:0:0:0:0:0:/var/media/movie/").Contains("E: ")) sreturn += "2:47:0:0:0:0:0:0:0:0:/var/media/movie/;Recordings\n"; // replace neutrino split character with ; @@ -334,10 +337,11 @@ break; case StbBoxType.EnigmaV2: - string serviceID = String.Empty; - string serviceName = String.Empty; + string serviceID = String.Empty; + string serviceName = String.Empty; - string returnedXml = PostData(url, userName, password, boxType, timeout, "/web/fetchchannels?ServiceListBrowse=1:7:1:0:0:0:0:0:0:0:(type == 1) FROM BOUQUET \"bouquets.tv\" ORDER BY bouquet"); + string returnedXml = PostData(url, userName, password, boxType, timeout, + "/web/fetchchannels?ServiceListBrowse=1:7:1:0:0:0:0:0:0:0:(type == 1) FROM BOUQUET \"bouquets.tv\" ORDER BY bouquet"); // xmlbased, return all userbouquets XmlDocument doc = new XmlDocument(); @@ -461,11 +465,13 @@ // which => one webrequest for each channel in every bouquet if (boxType == StbBoxType.EnigmaV1 || boxType == StbBoxType.EnigmaV2) { - string chan_id = bouquets.Split(';')[0]; // eg. 1:0:1:6D67:437:1:C00000:0:0:0: - ... [truncated message content] |