src/Generic/commandLineInterface/CommandLineInterface.cpp
/** Display the current Serif version number, including a list
	  * of loaded feature modules; and a copyright message. */
Display the current Serif version number, including a list
of loaded feature modules; and a copyright message.
Display the current Serif version number including a list of loaded feature modules ; and a copyright message .
void displayVersionAndCopyright() {
		const char *os;
		#if defined(_WIN32)
			os = "Windows";
		#elif defined(UNIX)
			os = "UNIX";
		#else
			#error "Unknown operating system."
		#endif
			cout << "This is " << os << " " 
				 << SerifVersion::getProductName() << ", version " 
				 << SerifVersion::getVersionString() << ".\n"
				 << "  Build date: " << __DATE__ << " " << __TIME__ << "\n";
		std::vector<std::string> modules = FeatureModule::loadedFeatureModules();
		if (!modules.empty()) {
			cout << "  Using Modules:";
			BOOST_FOREACH(std::string name, modules) {
				cout << " " << name;
			}
			cout << "\n";
		}
		cout << SerifVersion::getCopyrightMessage() << endl;
	}
void displayVersionAndCopyright ( ) { const char * os ; #if defined ( _WIN32 ) os = " " ; #elif defined ( UNIX ) os = " " ; #else #error  "Unknown operating system."
 #endif cout << " " << os << " " << SerifVersion :: getProductName ( ) << " " << SerifVersion :: getVersionString ( ) << " \n " << " " << __DATE__ << " " << __TIME__ << " \n " ; std :: vector < std :: string > modules = FeatureModule :: loadedFeatureModules ( ) ; if ( ! modules . empty ( ) ) { cout << " " ; BOOST_FOREACH ( std :: string name , modules ) { cout << " " << name ; } cout << " \n " ; } cout << SerifVersion :: getCopyrightMessage ( ) << endl ; }
Display the current Serif version number, including a list
 of loaded feature modules; and a copyright message.
Display the current Serif version number including a list of loaded feature modules ; and a copyright message .