2015-11-05, 10:38
(2015-11-05, 01:38)jfcarroll Wrote: Now there's a major interdependency problem between the command line parser, Application, g_advancedSettings, CSpecialProtocol, main and CLog that I'm trying to resolve. I need to set and get the location of the log file and the log level settings. There is an order-of-initialization problem I'm trying to resolve.
I'm going to move the command line parsing to a passive object. Right now it calls out to the various affected components (and is therefore "active") as the command line is parsed. I'm going to create a second class that parses the command line but simply retains the values. I will move the parsing of the values one at a time to this class so the two will exist until everything affected is moved over.
I started cleaning up the app parser for kodi server but didn't get any help on windows, I think the windows devs were swamped with other stuff
Anyways, perhaps there is something for you here.
https://github.com/topfs2/xbmc/tree/appparser