Re: Need some help with Radio Tuner App



>    Compile time or Run Time?
>    Compile time makes the tuner simple, as
>    if it's compiled for your radio, you just
>    run the program and it works.  However, in order
>    to support binary releases, radio selection
>    needs to be done at run time.

You could abstract the radio control functions into a library,  have a
different library for each radio type,  let the binary distribution
have all the libraries,  and just install the one the user needs -- a
libradio(yourradiocardhere).1.0 for each kind of card and a libradio.1
symlink to the right lib.

							Will

--------------------------------------------------------------------------
|             harpo@udel.edu lowe@cis.udel.edu lowe@debian.org           |
|			http://www.cis.udel.edu/~lowe/		         |
|    PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey    |
--------------------------------------------------------------------------
|            And if you on tight to what you think is your thing         |
|                you may find you're missing all the rest ...            |
|	         - Dave Matthews,  "Best of What's Around"               |
--------------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]