On Tue, Apr 10, 2007 at 01:17:09PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > | > | > 'debug.h' should really be transferred to support/ > | > | > | > | Does not sound wrong. > | > > | > It does if you view support as a support lib that should not really > | > know something about the rest of lyx. > | > | What does it need to know? It's a sink: Just write whatever I pass > | somewhere. Could be a console, or the debug window of some IDE. It does > | not have to know anything apart, possibly, the 'channel' enum. But that > | could easily considered as 'service', too. > > LYXRC, MATHED, etc is application specific info.
It is. However, this could -in theory- be worked around by letting the application 'register' its channels. Of course I do not recommend such practice but just let the app specific constants in support. Andre' PS: I am really tired of such ivory tower type discussions. src/support is not used by anything outside LyX. So why the f*** would it be absolutely necessary to not have constants named LYXRC and MATHED there. PPS: Even if this goes ad hominem: Is there a specific reason you tend to choose the least pragmatic solution under any given circumstances or is it really coincidence?
