-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e22699e
commit 97657b7
Showing
7 changed files
with
47 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,47 +10,47 @@ namespace sansa | |
inline | ||
void printTitle(std::string const& title) | ||
{ | ||
std::cout << "**********************************************************************" << std::endl; | ||
std::cout << "Program: Sansa" << std::endl; | ||
std::cout << "This is free software, and you are welcome to redistribute it under" << std::endl; | ||
std::cout << "certain conditions (BSD License); for license details use '-l'." << std::endl; | ||
std::cout << "This program comes with ABSOLUTELY NO WARRANTY; for details use '-w'." << std::endl; | ||
std::cout << std::endl; | ||
std::cout << title << " (Version: " << sansaVersionNumber << ")" << std::endl; | ||
std::cout << "Contact: Tobias Rausch ([email protected])" << std::endl; | ||
std::cout << "**********************************************************************" << std::endl; | ||
std::cout << std::endl; | ||
std::cerr << "**********************************************************************" << std::endl; | ||
std::cerr << "Program: Sansa" << std::endl; | ||
std::cerr << "This is free software, and you are welcome to redistribute it under" << std::endl; | ||
std::cerr << "certain conditions (BSD License); for license details use '-l'." << std::endl; | ||
std::cerr << "This program comes with ABSOLUTELY NO WARRANTY; for details use '-w'." << std::endl; | ||
std::cerr << std::endl; | ||
std::cerr << title << " (Version: " << sansaVersionNumber << ")" << std::endl; | ||
std::cerr << "Contact: Tobias Rausch ([email protected])" << std::endl; | ||
std::cerr << "**********************************************************************" << std::endl; | ||
std::cerr << std::endl; | ||
} | ||
|
||
inline | ||
void displayWarranty() | ||
{ | ||
std::cout << "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cout << "THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR "; | ||
std::cout << "CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cout << "PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, "; | ||
std::cout << "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF "; | ||
std::cout << "ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." << std::endl; | ||
std::cout << std::endl; | ||
std::cerr << "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cerr << "THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR "; | ||
std::cerr << "CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cerr << "PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, "; | ||
std::cerr << "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF "; | ||
std::cerr << "ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." << std::endl; | ||
std::cerr << std::endl; | ||
} | ||
|
||
inline void | ||
bsd() { | ||
std::cout << "Copyright (c) 2019 Sansa Project Authors (see AUTHORS file for details)." << std::endl; | ||
std::cout << "All rights reserved." << std::endl; | ||
std::cout << std::endl; | ||
std::cout << "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:" << std::endl; | ||
std::cout << " 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer." << std::endl; | ||
std::cout << " 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution." << std::endl; | ||
std::cout << " 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission." << std::endl; | ||
std::cout << std::endl; | ||
std::cout << "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cout << "THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR "; | ||
std::cout << "CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cout << "PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, "; | ||
std::cout << "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF "; | ||
std::cout << "ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." << std::endl; | ||
std::cout << std::endl; | ||
std::cerr << "Copyright (c) 2019 Sansa Project Authors (see AUTHORS file for details)." << std::endl; | ||
std::cerr << "All rights reserved." << std::endl; | ||
std::cerr << std::endl; | ||
std::cerr << "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:" << std::endl; | ||
std::cerr << " 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer." << std::endl; | ||
std::cerr << " 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution." << std::endl; | ||
std::cerr << " 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission." << std::endl; | ||
std::cerr << std::endl; | ||
std::cerr << "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cerr << "THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR "; | ||
std::cerr << "CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, "; | ||
std::cerr << "PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, "; | ||
std::cerr << "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF "; | ||
std::cerr << "ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." << std::endl; | ||
std::cerr << std::endl; | ||
} | ||
|
||
} | ||
|