On Wed, May 11, 2011 at 3:30 PM,  <arenie...@gmail.com> wrote:
> Do you mean keeping UIs in the same package with core?

No; they can be separate.

> Or dropping the
> ability to select frontend on startup with cmd args?

No.

I am saying the configuration file can link to any number of UIs desired
(ff they are not installed they cannot be mentioned there),
and the user can pick any on the command line.


Specifically:

* in Yi.Config.Default: remove availableFrontends; that way no
frontend is required by Core
* in Yi.Config: replace startFrondEnd by availableFrontends (defaults to empty)
* in Yi.Main.getConfig: remove from the availableFrontends list all
that do not match the choice of the user.
* At the time of starting the UI, pick the 1st in the
availableFrontends; if not is available refuse to start.

Cheers,
JP.

-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to