David Megginson writes:

> 
> There are two important C++ APIs you have to learn for properties -- I
> added extensive documentation comments to both so that contributors
> won't have to guess how to use them.  The low-level implementation is
> declared in simgear/misc/props.hxx, and Curt has autogenerated HTML
> documentation here:
> 
>   http://www.simgear.org/doxygen/props_8hxx.html
> 
> Most of the time, though, you can get away with using the higher-level
> functions declared in src/Main/fg_props.hxx.  Curt hasn't generated
> HTML documentation from this yet, but if you look at the file, you'll
> see about a 1:1 documentation:code ratio, and the comments are fairly
> easy to read.  You can look at many parts of FlightGear to see how
> properties are being used in actual code.
> 

src/Main/fgfs.hxx is also a good spot to read the comments.


Cheers - Dave

--
[EMAIL PROTECTED]

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to