setup ChangeLog LogFile.h LogSingle ...
Wed Feb 4 10:10:00 GMT 2015

CVSROOT:	/cvs/cygwin-apps
Module name:	setup
Changes by:	2015-02-04 10:10:42

Modified files:
	.              : ChangeLog LogFile.h LogSingleton.h 

Log message:
	* Throughout, include LogFile.h instead of LogSingleton.h where
	* (LogFile::exit_msg): Convert globally available variable
	to protected, static LogFile member.
	(LogFile::exit): Accept second parameter to decide if the end of install
	message is  to be printed.  Revert to using the exit_code as is.
	* LogFile.h (LogFile::setExitMsg): New static method.  Use throughout
	rather than setting exit_msg directly.
	(LogFile::getExitMsg): Ditto.
	(LogFile::exit): Add second parameter to prototype.
	(LogFile::exit_msg): New static member.
	(Logger): New macro defining simplified access th logger instance.
	Use throughout in place of LogSingleton::GetInstance and direct access
	to theLog.
	* LogSingleton.h (LogSingleton::exit): Add second parameter to
	* (theLog): Remove extern declaration.
	(set_status): Call Logger ().getExitMsg () instead of
	accessing exit_msg directly.
	* (theLog): Remove extern declaration.
	* (theLog): Remove.
	(WinMain): Introduce local variables to store requirement to print
	help output and if command line options were used incorrectly.  Use
	throughout function.


More information about the Cygwin-apps-cvs mailing list