You are looking in the wrong place.  Go to www.measurmentcomputing.com  They have a library that interfaces X10 devices.  They also support softwire, a graphics based language to program your X.10 and lots of other stuff.