Help - Search - Members - Calendar
Full Version: cfg_var
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
kdx
I just had a look at the cfg_var-class and found no way to load or save the data, when I want it, which would mean, I'd have to have all config-data in memory all the time (correct ?) .. So .. Is there no way to tell foobar 'get my data now' ?
foosion
QUOTE(kdx @ Jan 12 2005, 03:23 AM)
which would mean, I'd have to have all config-data in memory all the time (correct ?)
*
Yes.

QUOTE(kdx @ Jan 12 2005, 03:23 AM)
Is there no way to tell foobar 'get my data now' ?
*
Yes.

cfg_vars are initialized with data from the config file before the main UI is created. Their values are stored when foobar2000 exits or the user presses the "Save all" button in preferences.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.