[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] library config
On Tue, Dec 16, 2003 at 09:18:26PM -0800, James McCartney wrote:
> I'd like to move the library config parser out of SC_TerminalClient so
> that the app can use it.
we'll have to factor out SC_StringBuffer as well, because both
SC_LibraryFile and SC_Language/TerminalClient depend on it. i'll split
them up into
headers/common/SC_StringBuffer.h
source/common/SC_StringBuffer.cpp
headers/lang/SC_LibraryConfig.h
headers/lang/SC_LanguageClient.h
headers/lang/SC_TerminalClient.h
source/lang/LangSource/SC_LibraryConfig.cpp
source/lang/LangSource/SC_LanguageClient.cpp
source/lang/LangSource/SC_TerminalClient.cpp
SC_LibraryConfig.* can contain both maurizio's code and the file
parser. i'll add an SC_ prefix to the LibraryConfig class.
ok with everyone?
> 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.
good idea, i'll add a switch to the terminal application.
<sk>