setup UserSettings.cc
rbcollins@sources.redhat.com
rbcollins@sources.redhat.com
Sat Jul 26 07:04:00 GMT 2003
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: rbcollins@sourceware.org 2003-07-26 07:04:26
Modified files:
. : UserSettings.cc
Log message:
2003-07-26 Robert Collins <rbtcollins@hotmail.com>
* tests/Makefile.am: Driver for test suite.
* tests/UserSettingTest.cc: Test UserSetting interface.
* tests/UserSettingsTest.cc: Test UserSettings interface.
* Makefile.am: Add the tests dir to recurse into.
* configure.in: Ditto.
* UserSetting.h: Add load and save methods to allow global serialisation.
Add explicit copy and assignment operators to prevent synthetics.
Make the constructor protected to prevent direct instantiation.
* UserSettings.h (UserSettings::loadAllSettings): New method.
(UserSettings::savedAllSettings): New method.
* UserSettings.cc: Implement new methods.
* site.cc: Implement stubs for new required UserSetting methods.
* site.h (ChosenSite): Ditto.
* Ran automake.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/UserSettings.cc.diff?cvsroot=cygwin-apps&r1=2.3&r2=2.4
More information about the Cygwin-apps-cvs
mailing list