Re: [cvsgui] WinCvs storage of configuration data?
Oliver Giesen <[email protected]> Sun, 06 Feb 2005 00:05:19 +0100
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
Bo Berglund wrote: > Jerzy, FYI: He told me he'll be away for the next two or three weeks. > I am trying to implement the log message template function I asked > about before. To do so I need to read the location of the template > file from the registry, but being a C++ novice I am on thin ice so I > thought that I would look at how WinCvs reads/writes the config data > to the registry and copy some good code from that. > Problem is I can't find wher it is done... > Can you just tell me the file (and possibly function) that reads back > the config data? A more appropriate place for all this would have been the cvsgui-dev list I think. CC set. Anyway, look for references to CvsPrefs or gCvsPrefs (from common/CvsPrefs.h/cpp). I guess the recommended way to implement a new setting like the one you propose would be to add appropriate members to this class and then use those to set and get it. Right, Jerzy/Kalle/Richard/Jens? Hope this helps. -- Oliver ---- ------------------ JID: [email protected] ICQ: 18777742 (http://wwp.icq.com/18777742) Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cvsgui-dev/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/