MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
legalese.cc File Reference
#include "mbconfig.h"
#include <iostream>
Include dependency graph for legalese.cc:

Go to the source code of this file.

Functions

void mbdyn_license (void)
 
void mbdyn_warranty (void)
 

Function Documentation

void mbdyn_license ( void  )

Definition at line 37 of file legalese.cc.

Referenced by mbdyn_parse_arguments(), and LicenseDR::Read().

38 {
39  silent_cout("license not available yet;"
40  " see GPL at http://www.gnu.org/" << std::endl);
41 }
void mbdyn_warranty ( void  )

Definition at line 44 of file legalese.cc.

Referenced by mbdyn_parse_arguments(), and WarrantyDR::Read().

45 {
46  silent_cout("From GPL 2.1:\n"
47 "\n"
48 " 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\n"
49 " FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\n"
50 " OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\n"
51 " PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\n"
52 " OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n"
53 " MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\n"
54 " TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\n"
55 " PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\n"
56 " REPAIR OR CORRECTION.\n"
57 "\n"
58 " 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n"
59 " WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\n"
60 " REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\n"
61 " INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\n"
62 " OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\n"
63 " TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\n"
64 " YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\n"
65 " PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\n"
66 " POSSIBILITY OF SUCH DAMAGES.\n"
67  << std::endl);
68 }