I need some quick info on getting resources into an Xforms proggram. I
have read the manual, and understand most of it, except for one thing.
In the FL_RESOURCE structure there is an entry for 'resource class', the
second member. What exactly do I put here? The manual has confused me(
not hard to do).
Here is what I want to do. I have an application that uses a serial
port, /dev/cua1, which is hard coded in the program. I wish to make this
device name a resource, say kenwood.xform.device in .Xresources.
In my program I put
FL_resource res[] =
{"device", <class name>, FL_STRING, &device, "/dev/cua1", 15};
In this case what do I put in the <class name> spot?
Jeff Pierce
piercej@preferred.com
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/