Re: [Scid-users] engine auto-install

2014-11-27 Thread Chris Bannister
On Thu, Nov 27, 2014 at 11:45:31AM +0100, Fulvio wrote: > R. wrote: > > Who would have thought that a superb programmer like Fulvio is a fan > > of Steve Jobs, of Wozniak maybe, but not Steve Jobs... :) > > > > sorry about that :p > > > > > :) > when I read his biography I was very impressed by hi

Re: [Scid-users] engine auto-install

2014-11-27 Thread Gregor Cramer
For me it's clear that the author of the chess engine is responsible for the installation of the plugin spec file. A user might install the latest build of the engine, and expects that the installation from source code is also installing the spec file, who else should do this? And only the author

Re: [Scid-users] engine auto-install

2014-11-27 Thread H.G. Muller
Sorry, pressend 'send' by accident on the previous message. Fulvio schreef op 11/27/2014 4:24 PM: > typedef int engine_handle; > int SOMEPREFIX_getEngines(engine_handle*, int max_handles, time_t > after_timestamp); > > and use it like this: > engine_handle engines[100]; > int n_engines = SOMEPREF

Re: [Scid-users] engine auto-install

2014-11-27 Thread Fulvio
H.G. Muller wrote: > I don't completely get how you would want to obtain the engine_handle. typedef int engine_handle; int SOMEPREFIX_getEngines(engine_handle*, int max_handles, time_t after_timestamp); and use it like this: engine_handle engines[100]; int n_engines = SOMEPREFIX_getEngines(engine

Re: [Scid-users] engine auto-install

2014-11-27 Thread H.G. Muller
Fulvio schreef op 11/27/2014 12:44 PM: > H.G. Muller wrote: >> OK, clear. That sounds straightforward enough. For the returned >> lists, would you just >> want a string where all data fields are separated by newlines, or an >> arry of (char*) ? > Neither :) > The best is in my opinion an array o

Re: [Scid-users] engine auto-install

2014-11-27 Thread Fulvio
H.G. Muller wrote: > OK, clear. That sounds straightforward enough. For the returned lists, > would you just > want a string where all data fields are separated by newlines, or an > arry of (char*) ? Neither :) The best is in my opinion an array of handles and a set of functions (gtk_widget and

Re: [Scid-users] engine auto-install

2014-11-27 Thread H.G. Muller
Fulvio schreef op 11/27/2014 10:43 AM: > Let's go back to the interface i suggested as an example. > You can rewrite your AutoInstall function like this: > > std::string AutoInstall (const std::string& lastTimeStamp) > { > //TimeStamp may be a string composed by > numberofengines_timeofthelaste

Re: [Scid-users] engine auto-install

2014-11-27 Thread Fulvio
R. wrote: > Who would have thought that a superb programmer like Fulvio is a fan > of Steve Jobs, of Wozniak maybe, but not Steve Jobs... :) > > sorry about that :p > > :) when I read his biography I was very impressed by his determination to remove everything superfluous in search of perfection

Re: [Scid-users] engine auto-install

2014-11-27 Thread R.
Who would have thought that a superb programmer like Fulvio is a fan of Steve Jobs, of Wozniak maybe, but not Steve Jobs... :) sorry about that :p On 11/27/2014 10:43 AM, Fulvio wrote: H.G. Muller wrote: There is a problem with that: if the format would be go to changes it would be for th

Re: [Scid-users] engine auto-install

2014-11-27 Thread Fulvio
H.G. Muller wrote: > There is a problem with that: if the format would be go to changes it > would be for the > reason to provide more information some GUIs need, and it would have to > appear > in the list. To be able to ignore extentions of the specs it should be > possible to let the > librar