# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+package project::ircon::Index;
require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
-use vars qw($VERSION $CVS_ID);
-$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
-$CVS_ID=q$Id$;
+our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+our $CVS_ID=q$Id$;
use strict;
use warnings;
+BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
use My::Web;
-use project::ircon::ListItem;
+Wuse 'My::Project';
+Wuse 'project::ircon::ListItem';
-My::Web->init_project(
- "ListItem"=>\%My::Project::ircon::ListItem,
+My::Project->init_project(
+ "__PACKAGE__"=>__PACKAGE__,
+ "ListItem"=>\@project::ircon::ListItem::ListItem,
);
-print <<'HERE';
+print <<"HERE";
<p>Package consists of:</p>
<ul>
<li>Linux kernel module implementing <code>/dev/ircon</code> device as hardware interface</li>
should be more intelligent and generate the signal itself as PC hardware simply is too slow to keep up strictly
with the original frequencies and so in about 1 of 30 button presses it misses. Due to this the automatic Maspro
tuning software (generating hundreds of button presses) is not usable.</p>
+
+@{[ centerimg
+ ['ircon-parport-small.jpeg','Parallel Port Adapter',"a_href_img"=>'ircon-parport.jpeg'],
+ ['ircon-led-small.jpeg','Remote LED Transmitter',"a_href_img"=>'ircon-led.jpeg']
+ ]}
HERE
My::Web->footer();