|
|
prefsP_= new Fl_Preferences(Fl_Preferences::USER, vendor, product);
dataP_ = new Fl_Preferences(nullptr, "Runtime");
As we know, prefsP_ is written to HDD. dataP_ is only maintained in memory. In my code design, I'd like to make an identical copy of prefsP_ as runtime. The user can access these values without disk access and modify them as needed.
Only values that need to be saved will be written to HDD via prefsP_
Is there an API call like - copy (prefsP_, dataP_) or something similar ?
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/9ebadefd-05ee-4b68-858e-bb214e191d3fn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |