|Version 5 (modified by http://dgdw.myopenid.com/, 5 years ago)|
This purpose of this tutorial is to guide a programmer through the process of creating a simple UPnP application that makes use of the three core OSS components,
- The UPnP control point stack
- The auto generated control and eventing service classes
- The Topology component
LinnSysTray is a minimalistic application that runs in the OS' systray.
LinnSysTray allows a user to connect to a Linn DS, a Linn CD12, a Linn Akurate CD, or a UPnP Media Renderer and to be evented, (via a balloon tip), the current track information.
Finally LinnSysTray also allows the user to perform transport actions; namely, play, pause, stop, skip forward, and skip backward.
You should now be in the position to run (and try out) the built executable.
The executable will have been installed into the install tree by the build system, which is by default a directory called install in the directory where you checked your code. The LinnSysTray.exe can be found in the following location,
The relevant build commands for LinnSysTray are,
files = Split(""" LinnSysTray/LinnSysTrayForm.cs LinnSysTray/LinnSysTrayForm.Designer.cs LinnSysTray/Program.cs """) resource = _default_env.Resgen("LinnSysTray.LinnSysTrayForm.resources", "LinnSysTray/LinnSysTrayForm.resx") linnSysTray = _default_env.CliProgram("LinnSysTray", files, CSCTARGET=target, CLILIBS=['ControlOss', 'TopologyOss', 'System.Drawing', 'System.Windows.Forms'], CLIRESOURCES=resource) Alias('Lib', linnSysTray)
and can be found, starting at line 145, in the SConscript file,
The file of interest is LinnSysTray/LinnSysTrayForm.cs and will be the source file of discussion for the remained of this tutorial.