Hi,
actually please ignore my previous message (the one just posted to
wxcode-users): I just forgot that I already suggested a solution :)
Christian Buhtz ha scritto:
> there are six project files in /build.
> webupdate_advanced_0_0_1
> webupdate_advanced_1_5_0
> webupdate_simple_1_0_0
> webupdate_simple_2_0_3
> webupdate_webupdate
> webupdate_webupdater
>
> They are not documented in the readme file.
>
> What is about them?
*simple* and *advanced* project files are sample apps for testing the
updater. _webupdate[r] are the webupdate library and webupdater
standalone executable.
> Francesco Montorsi schrieb:
>> I'm out of free time currently but I'd gadly apply patches which work in
>> that direction...
>
> It's on my TODO list. ;)
good :)
>
>> basically I suggest you to look at the sources of wxWebupdate (they
>> should be fairly commented) and look at the relevant portions of
>> webupdate[dlg].cpp
>
> You mean
> bool wxWebUpdateDlg::CheckForAllUpdated(wxWebUpdatePackageArray &arr,
> bool forcedefaultmsg)
> ?
yes
>
>> the code is there could be used/refactored to create
>> a function exported then in the library and made easily accessible from
>> extern programs.
>
> Nice idea. First I have to analyse your code. But I think it would be
> easier for all of use if we just "outsource" the related code to extra
> source-files. Then you can just use them for your WebUpdate and we can
> include and build them in our own projects. Something like
> webupdate_base.cpp and webupdate_base.h without any gui elements - just
> the application layer.
> What do you think about it?
I think it would be cleaner to add a command-line option (e.g. --query)
as described in the previous mail (beyond a library-exposed API)...
Francesco
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxCode-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxcode-users