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

Re: [sc-dev] library config



On Tue, 16 Dec 2003 21:18:26 -0800, James McCartney <asynth@xxxxxx> wrote:

Just an idea, perhaps it would be good to factor commonalities between the app and SC_TerminalClient into a base class? It could take care of initialization, library loading and such. Perhaps better implemented as a component class, rather than derived from. I was thinking of creating a Python interface (with the help of SWIG) to sclang, so I could script it from within Vim (built with Python support). A more basic client class, which doesn't read from the commandline would be useful here I think. Am I on to something?

Regards

Arve Knudsen


I'd like to move the library config parser out of SC_TerminalClient so that the app can use it. I'd like to be able to change to a different .cfg file. I'd search for ~/*.cfg and ./*.cfg and let the user choose one from a menu or find one with the file dialog. This way it would be easy to switch between configs. Similarly the command line version might want to give an option to specify a different .cfg file.