Hi folks,
I've nearly finished the preliminary work on the new socket architecture
in the Barry library.
This change is needed for GPRS modem support in the future, plus, it cleans
up some of the code.
For those of you programming with Barry, the change affects how you
connect to the device. Currently, you would do:
Controller con(proberesult);
con.OpenMode(Controller::Desktop);
con.LoadDatabase(...);
With the new API changes, this will become:
Controller con(proberesult);
Mode::Desktop desktop(con);
desktop.Open();
desktop.LoadDatabase(...);
In the future, there will be a Mode::Serial class that can use the modem
as well.
If anyone wants to test this development branch, you can grab it
via CVS with the following command:
cd /path/where/you/keep/Barry
./buildgen.sh cleanall
cvs update -Pd -r barry-b1-socket-arch-branch
./buildgen.sh
./configure, etc.
To go back to the main tree, do:
cd /path/where/you/keep/Barry
./buildgen.sh cleanall
cvs update -PdA
I'll be merging the barry-b1-socket-arch-branch tree into the main
tree soon, but want to do some more testing on it.
- Chris
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel